class Redeclarable::DeclLink
Declaration
class Redeclarable::DeclLink { /* full declaration omitted */ };
Declared at: clang/include/clang/AST/Redeclarable.h:86
Member Variables
- private llvm::PointerUnion<NotKnownLatest, KnownLatest> Link
Method Overview
- public DeclLink(clang::Redeclarable::DeclLink::LatestTag, const clang::ASTContext & Ctx)
- public DeclLink(clang::Redeclarable::DeclLink::PreviousTag, decl_type * D)
- public clang::Decl * getLatestNotUpdated() const
- public decl_type * getPrevious(const decl_type * D) const
- public bool isFirst() const
- public void markIncomplete()
- public void setLatest(decl_type * D)
- public void setPrevious(decl_type * D)
Methods
¶DeclLink(clang::Redeclarable::DeclLink::LatestTag,
const clang::ASTContext& Ctx)
DeclLink(clang::Redeclarable::DeclLink::LatestTag,
const clang::ASTContext& Ctx)
Declared at: clang/include/clang/AST/Redeclarable.h:111
Parameters
- clang::Redeclarable::DeclLink::LatestTag
- const clang::ASTContext& Ctx
¶DeclLink(
clang::Redeclarable::DeclLink::PreviousTag,
decl_type* D)
DeclLink(
clang::Redeclarable::DeclLink::PreviousTag,
decl_type* D)
Declared at: clang/include/clang/AST/Redeclarable.h:113
Parameters
- clang::Redeclarable::DeclLink::PreviousTag
- decl_type* D
¶clang::Decl* getLatestNotUpdated() const
clang::Decl* getLatestNotUpdated() const
Declared at: clang/include/clang/AST/Redeclarable.h:158
¶decl_type* getPrevious(const decl_type* D) const
decl_type* getPrevious(const decl_type* D) const
Declared at: clang/include/clang/AST/Redeclarable.h:122
Parameters
- const decl_type* D
¶bool isFirst() const
bool isFirst() const
Declared at: clang/include/clang/AST/Redeclarable.h:115
¶void markIncomplete()
void markIncomplete()
Declared at: clang/include/clang/AST/Redeclarable.h:156
¶void setLatest(decl_type* D)
void setLatest(decl_type* D)
Declared at: clang/include/clang/AST/Redeclarable.h:142
Parameters
- decl_type* D
¶void setPrevious(decl_type* D)
void setPrevious(decl_type* D)
Declared at: clang/include/clang/AST/Redeclarable.h:137
Parameters
- decl_type* D