LLDB mainline
Classes | Typedefs | Functions
ClangASTSource.cpp File Reference
#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 Documentation

◆ BaseOffsetMap

typedef llvm::DenseMap<const CXXRecordDecl *, CharUnits> BaseOffsetMap

Definition at line 1418 of file ClangASTSource.cpp.

◆ FieldOffsetMap

typedef llvm::DenseMap<const FieldDecl *, uint64_t> FieldOffsetMap

Definition at line 1417 of file ClangASTSource.cpp.

Function Documentation

◆ DynCast()

template<class D2 , template< class D > class TD, class D1 >
TD< D2 > DynCast ( TD< D1 >  source)

Definition at line 738 of file ClangASTSource.cpp.

◆ ExtractBaseOffsets()

template<bool IsVirtual>
bool ExtractBaseOffsets ( const ASTRecordLayout &  record_layout,
DeclFromUser< const CXXRecordDecl > &  record,
BaseOffsetMap base_offsets 
)

◆ FindObjCPropertyAndIvarDeclsWithOrigin()

static bool FindObjCPropertyAndIvarDeclsWithOrigin ( NameSearchContext context,
ClangASTSource source,
DeclFromUser< const ObjCInterfaceDecl > &  origin_iface_decl 
)
static

◆ ImportOffsetMap()

template<class D , class O >
static bool ImportOffsetMap ( llvm::DenseMap< const D *, O > &  destination_map,
llvm::DenseMap< const D *, O > &  source_map,
ClangASTSource source 
)
static