LLDB mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::ClangASTSource::ClangASTSourceProxy Class Reference

"lldb/Expression/ClangASTSource.h" Proxy for ClangASTSource More...

#include <ClangASTSource.h>

Inheritance diagram for lldb_private::ClangASTSource::ClangASTSourceProxy:
Inheritance graph
[legend]

Public Member Functions

 ClangASTSourceProxy (ClangASTSource &original)
 
bool FindExternalVisibleDeclsByName (const clang::DeclContext *DC, clang::DeclarationName Name) override
 
void FindExternalLexicalDecls (const clang::DeclContext *DC, llvm::function_ref< bool(clang::Decl::Kind)> IsKindWeWant, llvm::SmallVectorImpl< clang::Decl * > &Decls) override
 
void CompleteType (clang::TagDecl *Tag) override
 
void CompleteType (clang::ObjCInterfaceDecl *Class) override
 
bool layoutRecordType (const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment, llvm::DenseMap< const clang::FieldDecl *, uint64_t > &FieldOffsets, llvm::DenseMap< const clang::CXXRecordDecl *, clang::CharUnits > &BaseOffsets, llvm::DenseMap< const clang::CXXRecordDecl *, clang::CharUnits > &VirtualBaseOffsets) override
 
void StartTranslationUnit (clang::ASTConsumer *Consumer) override
 

Private Attributes

ClangASTSourcem_original
 

Detailed Description

"lldb/Expression/ClangASTSource.h" Proxy for ClangASTSource

Clang AST contexts like to own their AST sources, so this is a state- free proxy object.

Definition at line 210 of file ClangASTSource.h.

Constructor & Destructor Documentation

◆ ClangASTSourceProxy()

lldb_private::ClangASTSource::ClangASTSourceProxy::ClangASTSourceProxy ( ClangASTSource original)
inline

Definition at line 212 of file ClangASTSource.h.

Member Function Documentation

◆ CompleteType() [1/2]

void lldb_private::ClangASTSource::ClangASTSourceProxy::CompleteType ( clang::ObjCInterfaceDecl *  Class)
inlineoverride

◆ CompleteType() [2/2]

void lldb_private::ClangASTSource::ClangASTSourceProxy::CompleteType ( clang::TagDecl *  Tag)
inlineoverride

Definition at line 226 of file ClangASTSource.h.

References lldb_private::ClangASTSource::CompleteType(), and m_original.

◆ FindExternalLexicalDecls()

void lldb_private::ClangASTSource::ClangASTSourceProxy::FindExternalLexicalDecls ( const clang::DeclContext *  DC,
llvm::function_ref< bool(clang::Decl::Kind)>  IsKindWeWant,
llvm::SmallVectorImpl< clang::Decl * > &  Decls 
)
inlineoverride

◆ FindExternalVisibleDeclsByName()

bool lldb_private::ClangASTSource::ClangASTSourceProxy::FindExternalVisibleDeclsByName ( const clang::DeclContext *  DC,
clang::DeclarationName  Name 
)
inlineoverride

◆ layoutRecordType()

bool lldb_private::ClangASTSource::ClangASTSourceProxy::layoutRecordType ( const clang::RecordDecl *  Record,
uint64_t &  Size,
uint64_t &  Alignment,
llvm::DenseMap< const clang::FieldDecl *, uint64_t > &  FieldOffsets,
llvm::DenseMap< const clang::CXXRecordDecl *, clang::CharUnits > &  BaseOffsets,
llvm::DenseMap< const clang::CXXRecordDecl *, clang::CharUnits > &  VirtualBaseOffsets 
)
inlineoverride

◆ StartTranslationUnit()

void lldb_private::ClangASTSource::ClangASTSourceProxy::StartTranslationUnit ( clang::ASTConsumer *  Consumer)
inlineoverride

Member Data Documentation

◆ m_original

ClangASTSource& lldb_private::ClangASTSource::ClangASTSourceProxy::m_original
private

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