clang  15.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)
llvm::Optional< ImportErrorgetImportDeclErrorIfAny (Decl *ToD) const
void setImportDeclError (Decl *To, ImportError Error)

Detailed Description

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

Definition at line 28 of file ASTImporterSharedState.h.

Constructor & Destructor Documentation

◆ ASTImporterSharedState() [1/2]

clang::ASTImporterSharedState::ASTImporterSharedState ( )

◆ ASTImporterSharedState() [2/2]

clang::ASTImporterSharedState::ASTImporterSharedState ( TranslationUnitDecl ToTU)

Definition at line 47 of file ASTImporterSharedState.h.

Member Function Documentation

◆ addDeclToLookup()

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

Definition at line 53 of file ASTImporterSharedState.h.

◆ getImportDeclErrorIfAny()

llvm::Optional<ImportError> clang::ASTImporterSharedState::getImportDeclErrorIfAny ( Decl ToD) const

Definition at line 65 of file ASTImporterSharedState.h.

◆ getLookupTable()

ASTImporterLookupTable* clang::ASTImporterSharedState::getLookupTable ( )

Definition at line 51 of file ASTImporterSharedState.h.

◆ removeDeclFromLookup()

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

Definition at line 59 of file ASTImporterSharedState.h.

◆ setImportDeclError()

void clang::ASTImporterSharedState::setImportDeclError ( Decl To,
ImportError  Error 

Definition at line 73 of file ASTImporterSharedState.h.

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