LLDB  mainline
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
DeclContextOverride Class Reference
Collaboration diagram for DeclContextOverride:
Collaboration graph
[legend]

Classes

struct  Backup
 

Public Member Functions

 DeclContextOverride ()=default
 
void OverrideAllDeclsFromContainingFunction (clang::Decl *decl)
 
 ~DeclContextOverride ()
 

Private Member Functions

void OverrideOne (clang::Decl *decl)
 
bool ChainPassesThrough (clang::Decl *decl, clang::DeclContext *base, clang::DeclContext *(clang::Decl::*contextFromDecl)(), clang::DeclContext *(clang::DeclContext::*contextFromContext)())
 
clang::Decl * GetEscapedChild (clang::Decl *decl, clang::DeclContext *base=nullptr)
 
void Override (clang::Decl *decl)
 

Private Attributes

llvm::DenseMap< clang::Decl *, Backupm_backups
 

Detailed Description

Definition at line 106 of file ClangASTImporter.cpp.

Constructor & Destructor Documentation

◆ DeclContextOverride()

DeclContextOverride::DeclContextOverride ( )
default

◆ ~DeclContextOverride()

DeclContextOverride::~DeclContextOverride ( )
inline

Definition at line 203 of file ClangASTImporter.cpp.

Member Function Documentation

◆ ChainPassesThrough()

bool DeclContextOverride::ChainPassesThrough ( clang::Decl *  decl,
clang::DeclContext *  base,
clang::DeclContext *(clang::Decl::*)()  contextFromDecl,
clang::DeclContext *(clang::DeclContext::*)()  contextFromContext 
)
inlineprivate

Definition at line 126 of file ClangASTImporter.cpp.

◆ GetEscapedChild()

clang::Decl* DeclContextOverride::GetEscapedChild ( clang::Decl *  decl,
clang::DeclContext *  base = nullptr 
)
inlineprivate

Definition at line 140 of file ClangASTImporter.cpp.

◆ Override()

void DeclContextOverride::Override ( clang::Decl *  decl)
inlineprivate

◆ OverrideAllDeclsFromContainingFunction()

void DeclContextOverride::OverrideAllDeclsFromContainingFunction ( clang::Decl *  decl)
inline

◆ OverrideOne()

void DeclContextOverride::OverrideOne ( clang::Decl *  decl)
inlineprivate

Definition at line 115 of file ClangASTImporter.cpp.

Member Data Documentation

◆ m_backups

llvm::DenseMap<clang::Decl *, Backup> DeclContextOverride::m_backups
private

Definition at line 113 of file ClangASTImporter.cpp.


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