clang 20.0.0git
|
#include "clang/AST/VTableBuilder.h"
Public Types | |
typedef SmallVector< ThunkInfo, 1 > | ThunkInfoVectorTy |
Public Member Functions | |
bool | isMicrosoft () const |
virtual | ~VTableContextBase () |
virtual const ThunkInfoVectorTy * | getThunkInfo (GlobalDecl GD) |
Static Public Member Functions | |
static bool | hasVtableSlot (const CXXMethodDecl *MD) |
Determine whether this function should be assigned a vtable slot. | |
Public Attributes | |
bool | IsMicrosoftABI |
Protected Types | |
typedef llvm::DenseMap< const CXXMethodDecl *, ThunkInfoVectorTy > | ThunksMapTy |
Protected Member Functions | |
virtual void | computeVTableRelatedInformation (const CXXRecordDecl *RD)=0 |
Compute and store all vtable related information (vtable layout, vbase offset offsets, thunks etc) for the given record decl. | |
VTableContextBase (bool MS) | |
Protected Attributes | |
ThunksMapTy | Thunks |
Contains all thunks that a given method decl will need. | |
Definition at line 321 of file VTableBuilder.h.
Definition at line 323 of file VTableBuilder.h.
|
protected |
Definition at line 330 of file VTableBuilder.h.
|
inlinevirtual |
Definition at line 327 of file VTableBuilder.h.
|
inlineprotected |
Definition at line 339 of file VTableBuilder.h.
|
protectedpure virtual |
Compute and store all vtable related information (vtable layout, vbase offset offsets, thunks etc) for the given record decl.
Referenced by getThunkInfo().
|
inlinevirtual |
Reimplemented in clang::MicrosoftVTableContext.
Definition at line 342 of file VTableBuilder.h.
References computeVTableRelatedInformation(), clang::Decl::getCanonicalDecl(), clang::GlobalDecl::getDecl(), clang::CXXMethodDecl::getParent(), and Thunks.
Referenced by clang::CodeGen::CodeGenVTables::EmitThunks(), clang::ASTNameGenerator::Implementation::getAllManglings(), and clang::MicrosoftVTableContext::getThunkInfo().
|
static |
Determine whether this function should be assigned a vtable slot.
Definition at line 2328 of file VTableBuilder.cpp.
References clang::FunctionDecl::isImmediateFunction(), and clang::CXXMethodDecl::isVirtual().
Referenced by clang::MicrosoftVTableContext::getMethodVFTableLocation(), GroupNewVirtualOverloads(), and selectBestPath().
|
inline |
Definition at line 325 of file VTableBuilder.h.
References IsMicrosoftABI.
Referenced by clang::ItaniumVTableContext::classof(), and clang::MicrosoftVTableContext::classof().
bool clang::VTableContextBase::IsMicrosoftABI |
Definition at line 357 of file VTableBuilder.h.
Referenced by isMicrosoft().
|
protected |
Contains all thunks that a given method decl will need.
Definition at line 333 of file VTableBuilder.h.
Referenced by getThunkInfo().