clang API Documentation
#include <Redeclarable.h>
Public Types | |
enum | PreviousTag { PreviousLink } |
enum | LatestTag { LatestLink } |
Public Member Functions | |
DeclLink (LatestTag, const ASTContext &Ctx) | |
DeclLink (PreviousTag, decl_type *D) | |
bool | NextIsPrevious () const |
bool | NextIsLatest () const |
decl_type * | getNext (const decl_type *D) const |
void | setPrevious (decl_type *D) |
void | setLatest (decl_type *D) |
void | markIncomplete () |
Definition at line 28 of file Redeclarable.h.
enum clang::Redeclarable::DeclLink::LatestTag |
Definition at line 47 of file Redeclarable.h.
enum clang::Redeclarable::DeclLink::PreviousTag |
Definition at line 46 of file Redeclarable.h.
clang::Redeclarable< decl_type >::DeclLink::DeclLink | ( | LatestTag | , |
const ASTContext & | Ctx | ||
) | [inline] |
Definition at line 49 of file Redeclarable.h.
clang::Redeclarable< decl_type >::DeclLink::DeclLink | ( | PreviousTag | , |
decl_type * | D | ||
) | [inline] |
Definition at line 51 of file Redeclarable.h.
decl_type* clang::Redeclarable< decl_type >::DeclLink::getNext | ( | const decl_type * | D | ) | const [inline] |
Definition at line 63 of file Redeclarable.h.
Referenced by clang::Redeclarable< VarDecl >::getNextRedeclaration().
void clang::Redeclarable< decl_type >::DeclLink::markIncomplete | ( | ) | [inline] |
Definition at line 94 of file Redeclarable.h.
References clang::Redeclarable< decl_type >::DeclLink::markIncomplete().
Referenced by clang::Redeclarable< decl_type >::DeclLink::markIncomplete().
bool clang::Redeclarable< decl_type >::DeclLink::NextIsLatest | ( | ) | const [inline] |
Definition at line 61 of file Redeclarable.h.
References clang::Redeclarable< decl_type >::DeclLink::NextIsPrevious().
Referenced by clang::Redeclarable< VarDecl >::isFirstDecl(), and clang::Redeclarable< decl_type >::DeclLink::setLatest().
bool clang::Redeclarable< decl_type >::DeclLink::NextIsPrevious | ( | ) | const [inline] |
Definition at line 54 of file Redeclarable.h.
Referenced by clang::Redeclarable< VarDecl >::getPreviousDecl(), clang::Redeclarable< decl_type >::DeclLink::NextIsLatest(), and clang::Redeclarable< decl_type >::DeclLink::setPrevious().
void clang::Redeclarable< decl_type >::DeclLink::setLatest | ( | decl_type * | D | ) | [inline] |
Definition at line 82 of file Redeclarable.h.
References clang::Redeclarable< decl_type >::DeclLink::NextIsLatest(), and clang::LazyGenerationalUpdatePtr< Owner, T, Update >::set().
void clang::Redeclarable< decl_type >::DeclLink::setPrevious | ( | decl_type * | D | ) | [inline] |
Definition at line 77 of file Redeclarable.h.
References clang::Redeclarable< decl_type >::DeclLink::NextIsPrevious().