LLDB mainline
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
DeclContextOverride Class Reference

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 108 of file ClangASTImporter.cpp.

Constructor & Destructor Documentation

◆ DeclContextOverride()

DeclContextOverride::DeclContextOverride ( )
default

◆ ~DeclContextOverride()

DeclContextOverride::~DeclContextOverride ( )
inline

Definition at line 205 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 128 of file ClangASTImporter.cpp.

◆ GetEscapedChild()

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

Definition at line 142 of file ClangASTImporter.cpp.

◆ Override()

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

Definition at line 173 of file ClangASTImporter.cpp.

References lldb_private::GetLog(), LLDB_LOG, and lldbassert.

◆ OverrideAllDeclsFromContainingFunction()

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

◆ OverrideOne()

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

Definition at line 117 of file ClangASTImporter.cpp.

Member Data Documentation

◆ m_backups

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

Definition at line 115 of file ClangASTImporter.cpp.


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