clang 20.0.0git
Public Member Functions | List of all members
clang::ASTImporterSharedState Class Reference

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

#include "clang/AST/ASTImporterSharedState.h"

Public Member Functions

 ASTImporterSharedState ()=default
 
 ASTImporterSharedState (TranslationUnitDecl &ToTU)
 
ASTImporterLookupTablegetLookupTable ()
 
void addDeclToLookup (Decl *D)
 
void removeDeclFromLookup (Decl *D)
 
std::optional< ASTImportErrorgetImportDeclErrorIfAny (Decl *ToD) const
 
void setImportDeclError (Decl *To, ASTImportError Error)
 
bool isNewDecl (const Decl *ToD) const
 
void markAsNewDecl (Decl *ToD)
 

Detailed Description

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

Definition at line 29 of file ASTImporterSharedState.h.

Constructor & Destructor Documentation

◆ ASTImporterSharedState() [1/2]

clang::ASTImporterSharedState::ASTImporterSharedState ( )
default

◆ ASTImporterSharedState() [2/2]

clang::ASTImporterSharedState::ASTImporterSharedState ( TranslationUnitDecl ToTU)
inline

Definition at line 51 of file ASTImporterSharedState.h.

Member Function Documentation

◆ addDeclToLookup()

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

Definition at line 57 of file ASTImporterSharedState.h.

References D.

◆ getImportDeclErrorIfAny()

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

Definition at line 69 of file ASTImporterSharedState.h.

◆ getLookupTable()

ASTImporterLookupTable * clang::ASTImporterSharedState::getLookupTable ( )
inline

Definition at line 55 of file ASTImporterSharedState.h.

◆ isNewDecl()

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

Definition at line 81 of file ASTImporterSharedState.h.

◆ markAsNewDecl()

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

Definition at line 83 of file ASTImporterSharedState.h.

◆ removeDeclFromLookup()

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

Definition at line 63 of file ASTImporterSharedState.h.

References D.

◆ setImportDeclError()

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

Definition at line 77 of file ASTImporterSharedState.h.


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