clang: clang::ASTImporterSharedState Class Reference (original) (raw)

Importer specific state, which may be shared amongst several ASTImporter objects. More...

#include "[clang/AST/ASTImporterSharedState.h](ASTImporterSharedState%5F8h%5Fsource.html)"

Public Member Functions
ASTImporterSharedState ()=default
ASTImporterSharedState (TranslationUnitDecl &ToTU)
ASTImporterLookupTable * getLookupTable ()
void addDeclToLookup (Decl *D)
void removeDeclFromLookup (Decl *D)
std::optional< ASTImportError > getImportDeclErrorIfAny (Decl *ToD) const
void setImportDeclError (Decl *To, ASTImportError Error)
bool isNewDecl (const Decl *ToD) const
void markAsNewDecl (Decl *ToD)

Importer specific state, which may be shared amongst several ASTImporter objects.

Definition at line 29 of file ASTImporterSharedState.h.

clang::ASTImporterSharedState::ASTImporterSharedState ( ) default

ASTImporterSharedState() [2/2]

addDeclToLookup()

void clang::ASTImporterSharedState::addDeclToLookup ( Decl * D) inline

getImportDeclErrorIfAny()

std::optional< ASTImportError > clang::ASTImporterSharedState::getImportDeclErrorIfAny ( Decl * ToD) const inline

getLookupTable()

isNewDecl()

bool clang::ASTImporterSharedState::isNewDecl ( const Decl * ToD) const inline

markAsNewDecl()

void clang::ASTImporterSharedState::markAsNewDecl ( Decl * ToD) inline

removeDeclFromLookup()

void clang::ASTImporterSharedState::removeDeclFromLookup ( Decl * D) inline

setImportDeclError()

void clang::ASTImporterSharedState::setImportDeclError ( Decl * To, ASTImportError Error ) inline

The documentation for this class was generated from the following file: