LLDB mainline
|
#include "ClangASTSource.h"
#include "ClangDeclVendor.h"
#include "ClangModulesDeclVendor.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleList.h"
#include "lldb/Symbol/CompilerDeclContext.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Symbol/SymbolFile.h"
#include "lldb/Symbol/TaggedASTType.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecordLayout.h"
#include "clang/Basic/SourceManager.h"
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
#include <memory>
#include <vector>
Go to the source code of this file.
Classes | |
class | TaggedASTDecl< D > |
class | DeclFromParser< D > |
class | DeclFromUser< D > |
Typedefs | |
typedef llvm::DenseMap< const FieldDecl *, uint64_t > | FieldOffsetMap |
typedef llvm::DenseMap< const CXXRecordDecl *, CharUnits > | BaseOffsetMap |
Functions | |
template<class D2 , template< class D > class TD, class D1 > | |
TD< D2 > | DynCast (TD< D1 > source) |
static bool | FindObjCPropertyAndIvarDeclsWithOrigin (NameSearchContext &context, ClangASTSource &source, DeclFromUser< const ObjCInterfaceDecl > &origin_iface_decl) |
template<class D , class O > | |
static bool | ImportOffsetMap (llvm::DenseMap< const D *, O > &destination_map, llvm::DenseMap< const D *, O > &source_map, ClangASTSource &source) |
template<bool IsVirtual> | |
bool | ExtractBaseOffsets (const ASTRecordLayout &record_layout, DeclFromUser< const CXXRecordDecl > &record, BaseOffsetMap &base_offsets) |
typedef llvm::DenseMap<const CXXRecordDecl *, CharUnits> BaseOffsetMap |
Definition at line 1418 of file ClangASTSource.cpp.
typedef llvm::DenseMap<const FieldDecl *, uint64_t> FieldOffsetMap |
Definition at line 1417 of file ClangASTSource.cpp.
TD< D2 > DynCast | ( | TD< D1 > | source | ) |
Definition at line 738 of file ClangASTSource.cpp.
bool ExtractBaseOffsets | ( | const ASTRecordLayout & | record_layout, |
DeclFromUser< const CXXRecordDecl > & | record, | ||
BaseOffsetMap & | base_offsets | ||
) |
Definition at line 1449 of file ClangASTSource.cpp.
References TaggedASTDecl< D >::decl, and TaggedASTDecl< D >::IsInvalid().
|
static |
Definition at line 1210 of file ClangASTSource.cpp.
References lldb_private::NameSearchContext::AddNamedDecl(), TaggedASTDecl< D >::decl, lldb_private::ClangUtil::DumpDecl(), lldb_private::Expressions, lldb_private::GetLog(), DeclFromUser< D >::Import(), TaggedASTDecl< D >::IsInvalid(), TaggedASTDecl< D >::IsValid(), LLDB_LOG, and lldb_private::NameSearchContext::m_decl_name.
Referenced by lldb_private::ClangASTSource::FindObjCPropertyAndIvarDecls().
|
static |
Definition at line 1421 of file ClangASTSource.cpp.
References TaggedASTDecl< D >::decl, DeclFromUser< D >::Import(), and TaggedASTDecl< D >::IsInvalid().
Referenced by lldb_private::ClangASTSource::layoutRecordType().