#include "Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.h"
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
#include "clang/Basic/Module.h"
#include <optional>
usingnamespacelldb_private;
char ClangExternalASTSourceCallbacks::ID;
void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) { … }
void ClangExternalASTSourceCallbacks::CompleteType(
clang::ObjCInterfaceDecl *objc_decl) { … }
bool ClangExternalASTSourceCallbacks::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) { … }
void ClangExternalASTSourceCallbacks::FindExternalLexicalDecls(
const clang::DeclContext *decl_ctx,
llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
llvm::SmallVectorImpl<clang::Decl *> &decls) { … }
bool ClangExternalASTSourceCallbacks::FindExternalVisibleDeclsByName(
const clang::DeclContext *DC, clang::DeclarationName Name) { … }
OptionalClangModuleID
ClangExternalASTSourceCallbacks::RegisterModule(clang::Module *module) { … }
std::optional<clang::ASTSourceDescriptor>
ClangExternalASTSourceCallbacks::getSourceDescriptor(unsigned id) { … }
clang::Module *ClangExternalASTSourceCallbacks::getModule(unsigned id) { … }
OptionalClangModuleID
ClangExternalASTSourceCallbacks::GetIDForModule(clang::Module *module) { … }