clang 20.0.0git
|
#include "clang/AST/ASTImporterLookupTable.h"
Public Types | |
using | LookupResult = DeclList |
Public Member Functions | |
ASTImporterLookupTable (TranslationUnitDecl &TU) | |
void | add (NamedDecl *ND) |
void | remove (NamedDecl *ND) |
void | update (NamedDecl *ND, DeclContext *OldDC) |
void | updateForced (NamedDecl *ND, DeclContext *OldDC) |
LookupResult | lookup (DeclContext *DC, DeclarationName Name) const |
bool | contains (DeclContext *DC, NamedDecl *ND) const |
void | dump (DeclContext *DC) const |
void | dump () const |
Definition at line 46 of file ASTImporterLookupTable.h.
Definition at line 81 of file ASTImporterLookupTable.h.
clang::ASTImporterLookupTable::ASTImporterLookupTable | ( | TranslationUnitDecl & | TU | ) |
Definition at line 87 of file ASTImporterLookupTable.cpp.
References D, clang::TranslationUnitDecl::getASTContext(), and clang::ASTContext::getVaListTagDecl().
void clang::ASTImporterLookupTable::add | ( | NamedDecl * | ND | ) |
Definition at line 126 of file ASTImporterLookupTable.cpp.
References clang::Decl::getDeclContext(), clang::DeclContext::getPrimaryContext(), and clang::DeclContext::getRedeclContext().
bool clang::ASTImporterLookupTable::contains | ( | DeclContext * | DC, |
NamedDecl * | ND | ||
) | const |
Definition at line 176 of file ASTImporterLookupTable.cpp.
References clang::NamedDecl::getDeclName(), and lookup().
Referenced by update().
void clang::ASTImporterLookupTable::dump | ( | ) | const |
Definition at line 196 of file ASTImporterLookupTable.cpp.
References dump(), and clang::DeclContext::getPrimaryContext().
Referenced by dump().
void clang::ASTImporterLookupTable::dump | ( | DeclContext * | DC | ) | const |
Definition at line 180 of file ASTImporterLookupTable.cpp.
References clang::DeclContext::getPrimaryContext().
ASTImporterLookupTable::LookupResult clang::ASTImporterLookupTable::lookup | ( | DeclContext * | DC, |
DeclarationName | Name | ||
) | const |
Definition at line 163 of file ASTImporterLookupTable.cpp.
References clang::DeclContext::getPrimaryContext().
Referenced by contains().
void clang::ASTImporterLookupTable::remove | ( | NamedDecl * | ND | ) |
Definition at line 135 of file ASTImporterLookupTable.cpp.
References clang::Decl::getDeclContext(), clang::DeclContext::getPrimaryContext(), and clang::DeclContext::getRedeclContext().
void clang::ASTImporterLookupTable::update | ( | NamedDecl * | ND, |
DeclContext * | OldDC | ||
) |
Definition at line 144 of file ASTImporterLookupTable.cpp.
References contains(), and clang::Decl::getDeclContext().
Referenced by clang::ASTNodeImporter::VisitFunctionDecl().
void clang::ASTImporterLookupTable::updateForced | ( | NamedDecl * | ND, |
DeclContext * | OldDC | ||
) |
Definition at line 157 of file ASTImporterLookupTable.cpp.
References clang::NamedDecl::getDeclName().
Referenced by clang::ASTNodeImporter::VisitFunctionTemplateDecl().