|
clang
5.0.0
|
#include "clang/AST/VTableBuilder.h"
Classes | |
| struct | MethodVFTableLocation |
Public Member Functions | |
| MicrosoftVTableContext (ASTContext &Context) | |
| ~MicrosoftVTableContext () override | |
| const VPtrInfoVector & | getVFPtrOffsets (const CXXRecordDecl *RD) |
| const VTableLayout & | getVFTableLayout (const CXXRecordDecl *RD, CharUnits VFPtrOffset) |
| const MethodVFTableLocation & | getMethodVFTableLocation (GlobalDecl GD) |
| const ThunkInfoVectorTy * | getThunkInfo (GlobalDecl GD) override |
| unsigned | getVBTableIndex (const CXXRecordDecl *Derived, const CXXRecordDecl *VBase) |
| Returns the index of VBase in the vbtable of Derived. More... | |
| const VPtrInfoVector & | enumerateVBTables (const CXXRecordDecl *RD) |
Public Member Functions inherited from clang::VTableContextBase | |
| bool | isMicrosoft () const |
| virtual | ~VTableContextBase () |
Static Public Member Functions | |
| static bool | classof (const VTableContextBase *VT) |
Additional Inherited Members | |
Public Types inherited from clang::VTableContextBase | |
| typedef SmallVector< ThunkInfo, 1 > | ThunkInfoVectorTy |
Public Attributes inherited from clang::VTableContextBase | |
| bool | IsMicrosoftABI |
Protected Types inherited from clang::VTableContextBase | |
| typedef llvm::DenseMap< const CXXMethodDecl *, ThunkInfoVectorTy > | ThunksMapTy |
Protected Member Functions inherited from clang::VTableContextBase | |
| VTableContextBase (bool MS) | |
Protected Attributes inherited from clang::VTableContextBase | |
| ThunksMapTy | Thunks |
| Contains all thunks that a given method decl will need. More... | |
Definition at line 482 of file VTableBuilder.h.
|
inline |
Definition at line 552 of file VTableBuilder.h.
|
override |
Definition at line 3374 of file VTableBuilder.cpp.
|
inlinestatic |
Definition at line 581 of file VTableBuilder.h.
References clang::VTableContextBase::isMicrosoft().
| const VPtrInfoVector & MicrosoftVTableContext::enumerateVBTables | ( | const CXXRecordDecl * | RD | ) |
Definition at line 3701 of file VTableBuilder.cpp.
References clang::VirtualBaseInfo::VBPtrPaths.
| const MicrosoftVTableContext::MethodVFTableLocation & MicrosoftVTableContext::getMethodVFTableLocation | ( | GlobalDecl | GD | ) |
Definition at line 3724 of file VTableBuilder.cpp.
References clang::Dtor_Deleting, clang::GlobalDecl::getDecl(), clang::GlobalDecl::getDtorType(), and I.
|
inlineoverridevirtual |
Reimplemented from clang::VTableContextBase.
Definition at line 564 of file VTableBuilder.h.
References clang::Dtor_Complete, clang::GlobalDecl::getDecl(), clang::GlobalDecl::getDtorType(), and clang::VTableContextBase::getThunkInfo().
| unsigned MicrosoftVTableContext::getVBTableIndex | ( | const CXXRecordDecl * | Derived, |
| const CXXRecordDecl * | VBase | ||
| ) |
Returns the index of VBase in the vbtable of Derived.
VBase must be a morally virtual base of Derived. The vbtable is an array of i32 offsets. The first entry is a self entry, and the rest are offsets from the vbptr to virtual bases.
Definition at line 3693 of file VTableBuilder.cpp.
References clang::VirtualBaseInfo::VBTableIndices.
| const VPtrInfoVector & MicrosoftVTableContext::getVFPtrOffsets | ( | const CXXRecordDecl * | RD | ) |
Definition at line 3706 of file VTableBuilder.cpp.
| const VTableLayout & MicrosoftVTableContext::getVFTableLayout | ( | const CXXRecordDecl * | RD, |
| CharUnits | VFPtrOffset | ||
| ) |
Definition at line 3714 of file VTableBuilder.cpp.
References clang::ast_matchers::id().
1.8.6