clang
10.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) |
LookupResult | lookup (DeclContext *DC, DeclarationName Name) const |
void | dump (DeclContext *DC) const |
void | dump () const |
Definition at line 47 of file ASTImporterLookupTable.h.
Definition at line 66 of file ASTImporterLookupTable.h.
clang::ASTImporterLookupTable::ASTImporterLookupTable | ( | TranslationUnitDecl & | TU | ) |
Definition at line 66 of file ASTImporterLookupTable.cpp.
void clang::ASTImporterLookupTable::add | ( | NamedDecl * | ND | ) |
Definition at line 84 of file ASTImporterLookupTable.cpp.
References clang::Decl::getDeclContext(), clang::DeclContext::getPrimaryContext(), and clang::DeclContext::getRedeclContext().
void clang::ASTImporterLookupTable::dump | ( | DeclContext * | DC | ) | const |
Definition at line 116 of file ASTImporterLookupTable.cpp.
References clang::DeclContext::getPrimaryContext().
void clang::ASTImporterLookupTable::dump | ( | ) | const |
Definition at line 132 of file ASTImporterLookupTable.cpp.
References dump(), and clang::DeclContext::getPrimaryContext().
ASTImporterLookupTable::LookupResult clang::ASTImporterLookupTable::lookup | ( | DeclContext * | DC, |
DeclarationName | Name | ||
) | const |
Definition at line 103 of file ASTImporterLookupTable.cpp.
void clang::ASTImporterLookupTable::remove | ( | NamedDecl * | ND | ) |
Definition at line 93 of file ASTImporterLookupTable.cpp.
References clang::Decl::getDeclContext(), clang::DeclContext::getPrimaryContext(), and clang::DeclContext::getRedeclContext().