LLDB  mainline
Classes | Typedefs | Functions
ClangASTSource.cpp File Reference
#include "ClangASTSource.h"
#include "ASTDumper.h"
#include "ClangModulesDeclVendor.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleList.h"
#include "lldb/Symbol/ClangASTContext.h"
#include "lldb/Symbol/ClangUtil.h"
#include "lldb/Symbol/CompilerDeclContext.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Symbol/SymbolFile.h"
#include "lldb/Symbol/SymbolVendor.h"
#include "lldb/Symbol/TaggedASTType.h"
#include "lldb/Target/ObjCLanguageRuntime.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/Log.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecordLayout.h"
#include <memory>
#include <vector>
Include dependency graph for ClangASTSource.cpp:

Go to the source code of this file.

Classes

class  TaggedASTDecl< D >
 
class  DeclFromParser< D >
 
class  DeclFromUser< 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 (unsigned int current_id, 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 1632 of file ClangASTSource.cpp.

◆ FieldOffsetMap

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

Definition at line 1631 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 1005 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 ( unsigned int  current_id,
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