|
clang 22.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 clang::TranslationUnitDecl::getASTContext(), and clang::ASTContext::getVaListTagDecl().
| void clang::ASTImporterLookupTable::add | ( | NamedDecl * | ND | ) |
Definition at line 127 of file ASTImporterLookupTable.cpp.
References clang::Decl::getDeclContext(), and clang::DeclContext::getRedeclContext().
| bool clang::ASTImporterLookupTable::contains | ( | DeclContext * | DC, |
| NamedDecl * | ND ) const |
Definition at line 177 of file ASTImporterLookupTable.cpp.
References clang::NamedDecl::getDeclName(), and lookup().
Referenced by update().
| void clang::ASTImporterLookupTable::dump | ( | ) | const |
Definition at line 197 of file ASTImporterLookupTable.cpp.
References clang::cast(), and dump().
Referenced by dump().
| void clang::ASTImporterLookupTable::dump | ( | DeclContext * | DC | ) | const |
Definition at line 181 of file ASTImporterLookupTable.cpp.
References clang::DeclarationName::dump().
| ASTImporterLookupTable::LookupResult clang::ASTImporterLookupTable::lookup | ( | DeclContext * | DC, |
| DeclarationName | Name ) const |
Definition at line 164 of file ASTImporterLookupTable.cpp.
Referenced by contains().
| void clang::ASTImporterLookupTable::remove | ( | NamedDecl * | ND | ) |
Definition at line 136 of file ASTImporterLookupTable.cpp.
References clang::Decl::getDeclContext(), and clang::DeclContext::getRedeclContext().
| void clang::ASTImporterLookupTable::update | ( | NamedDecl * | ND, |
| DeclContext * | OldDC ) |
Definition at line 145 of file ASTImporterLookupTable.cpp.
References contains(), and clang::Decl::getDeclContext().
| void clang::ASTImporterLookupTable::updateForced | ( | NamedDecl * | ND, |
| DeclContext * | OldDC ) |
Definition at line 158 of file ASTImporterLookupTable.cpp.
References clang::NamedDecl::getDeclName().