clang API Documentation
#include <VTableBuilder.h>


Public Types | |
| typedef SmallVector< ThunkInfo, 1 > | ThunkInfoVectorTy |
Public Member Functions | |
| bool | isMicrosoft () const |
| virtual | ~VTableContextBase () |
| virtual const ThunkInfoVectorTy * | getThunkInfo (GlobalDecl GD) |
Public Attributes | |
| bool | IsMicrosoftABI |
Protected Types | |
| typedef llvm::DenseMap< const CXXMethodDecl *, ThunkInfoVectorTy > | ThunksMapTy |
Protected Member Functions | |
| virtual void | computeVTableRelatedInformation (const CXXRecordDecl *RD)=0 |
| VTableContextBase (bool MS) | |
Protected Attributes | |
| ThunksMapTy | Thunks |
| Contains all thunks that a given method decl will need. | |
Definition at line 270 of file VTableBuilder.h.
| typedef SmallVector<ThunkInfo, 1> clang::VTableContextBase::ThunkInfoVectorTy |
Definition at line 272 of file VTableBuilder.h.
typedef llvm::DenseMap<const CXXMethodDecl *, ThunkInfoVectorTy> clang::VTableContextBase::ThunksMapTy [protected] |
Definition at line 279 of file VTableBuilder.h.
| virtual clang::VTableContextBase::~VTableContextBase | ( | ) | [inline, virtual] |
Definition at line 276 of file VTableBuilder.h.
| clang::VTableContextBase::VTableContextBase | ( | bool | MS | ) | [inline, protected] |
Definition at line 288 of file VTableBuilder.h.
| virtual void clang::VTableContextBase::computeVTableRelatedInformation | ( | const CXXRecordDecl * | RD | ) | [protected, pure virtual] |
Compute and store all vtable related information (vtable layout, vbase offset offsets, thunks etc) for the given record decl.
Referenced by getThunkInfo().
| virtual const ThunkInfoVectorTy* clang::VTableContextBase::getThunkInfo | ( | GlobalDecl | GD | ) | [inline, virtual] |
Reimplemented in clang::MicrosoftVTableContext.
Definition at line 291 of file VTableBuilder.h.
References computeVTableRelatedInformation(), clang::Decl::getCanonicalDecl(), clang::GlobalDecl::getDecl(), clang::CXXMethodDecl::getParent(), and Thunks.
Referenced by clang::CodeGen::CodeGenVTables::EmitThunks().
| bool clang::VTableContextBase::isMicrosoft | ( | ) | const [inline] |
Definition at line 274 of file VTableBuilder.h.
References IsMicrosoftABI.
Referenced by clang::ItaniumVTableContext::classof(), and clang::MicrosoftVTableContext::classof().
Definition at line 306 of file VTableBuilder.h.
Referenced by isMicrosoft().
ThunksMapTy clang::VTableContextBase::Thunks [protected] |
Contains all thunks that a given method decl will need.
Definition at line 282 of file VTableBuilder.h.
Referenced by getThunkInfo().