LLDB mainline
|
#include <ClangExternalASTSourceCallbacks.h>
Public Member Functions | |
bool | isA (const void *ClassID) const override |
LLVM RTTI support. | |
ClangExternalASTSourceCallbacks (TypeSystemClang &ast) | |
void | FindExternalLexicalDecls (const clang::DeclContext *DC, llvm::function_ref< bool(clang::Decl::Kind)> IsKindWeWant, llvm::SmallVectorImpl< clang::Decl * > &Result) override |
bool | FindExternalVisibleDeclsByName (const clang::DeclContext *DC, clang::DeclarationName Name) override |
void | CompleteType (clang::TagDecl *tag_decl) override |
void | CompleteType (clang::ObjCInterfaceDecl *objc_decl) 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 |
TypeSystemClang & | GetTypeSystem () const |
std::optional< clang::ASTSourceDescriptor > | getSourceDescriptor (unsigned ID) override |
Module-related methods. | |
clang::Module * | getModule (unsigned ID) override |
OptionalClangModuleID | RegisterModule (clang::Module *module) |
OptionalClangModuleID | GetIDForModule (clang::Module *module) |
Static Public Member Functions | |
static bool | classof (const clang::ExternalASTSource *s) |
Private Attributes | |
TypeSystemClang & | m_ast |
std::vector< clang::Module * > | m_modules |
llvm::DenseMap< clang::Module *, unsigned > | m_ids |
Static Private Attributes | |
static char | ID |
LLVM RTTI support. | |
Definition at line 24 of file ClangExternalASTSourceCallbacks.h.
|
inline |
Definition at line 33 of file ClangExternalASTSourceCallbacks.h.
|
inlinestatic |
Definition at line 31 of file ClangExternalASTSourceCallbacks.h.
References ID.
|
override |
Definition at line 25 of file ClangExternalASTSourceCallbacks.cpp.
References lldb_private::TypeSystemClang::CompleteObjCInterfaceDecl(), and m_ast.
|
override |
Definition at line 21 of file ClangExternalASTSourceCallbacks.cpp.
References lldb_private::TypeSystemClang::CompleteTagDecl(), and m_ast.
Referenced by FindExternalLexicalDecls().
|
override |
Definition at line 40 of file ClangExternalASTSourceCallbacks.cpp.
References CompleteType().
|
override |
Definition at line 52 of file ClangExternalASTSourceCallbacks.cpp.
OptionalClangModuleID ClangExternalASTSourceCallbacks::GetIDForModule | ( | clang::Module * | module | ) |
Definition at line 88 of file ClangExternalASTSourceCallbacks.cpp.
References m_ids.
Referenced by RemapModule().
|
override |
Definition at line 81 of file ClangExternalASTSourceCallbacks.cpp.
References m_modules.
Referenced by getSourceDescriptor(), and RemapModule().
|
override |
Module-related methods.
Definition at line 75 of file ClangExternalASTSourceCallbacks.cpp.
References getModule().
|
inline |
Definition at line 55 of file ClangExternalASTSourceCallbacks.h.
References m_ast.
Referenced by RemapModule().
|
inlineoverride |
|
override |
Definition at line 30 of file ClangExternalASTSourceCallbacks.cpp.
References lldb_private::TypeSystemClang::LayoutRecordType(), and m_ast.
OptionalClangModuleID ClangExternalASTSourceCallbacks::RegisterModule | ( | clang::Module * | module | ) |
Definition at line 67 of file ClangExternalASTSourceCallbacks.cpp.
|
staticprivate |
LLVM RTTI support.
Definition at line 26 of file ClangExternalASTSourceCallbacks.h.
|
private |
Definition at line 66 of file ClangExternalASTSourceCallbacks.h.
Referenced by CompleteType(), GetTypeSystem(), and layoutRecordType().
|
private |
Definition at line 68 of file ClangExternalASTSourceCallbacks.h.
Referenced by GetIDForModule(), and RegisterModule().
|
private |
Definition at line 67 of file ClangExternalASTSourceCallbacks.h.
Referenced by getModule(), and RegisterModule().