clang API Documentation

Classes | Public Member Functions | Static Public Member Functions
clang::MicrosoftVTableContext Class Reference

#include <VTableBuilder.h>

Inheritance diagram for clang::MicrosoftVTableContext:
Inheritance graph
[legend]
Collaboration diagram for clang::MicrosoftVTableContext:
Collaboration graph
[legend]

List of all members.

Classes

struct  MethodVFTableLocation

Public Member Functions

 MicrosoftVTableContext (ASTContext &Context)
 ~MicrosoftVTableContext ()
const VPtrInfoVectorgetVFPtrOffsets (const CXXRecordDecl *RD)
const VTableLayoutgetVFTableLayout (const CXXRecordDecl *RD, CharUnits VFPtrOffset)
const MethodVFTableLocationgetMethodVFTableLocation (GlobalDecl GD)
const ThunkInfoVectorTygetThunkInfo (GlobalDecl GD) override
unsigned 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.
const VPtrInfoVectorenumerateVBTables (const CXXRecordDecl *RD)

Static Public Member Functions

static bool classof (const VTableContextBase *VT)

Detailed Description

Definition at line 443 of file VTableBuilder.h.


Constructor & Destructor Documentation

Definition at line 511 of file VTableBuilder.h.

Definition at line 3429 of file VTableBuilder.cpp.


Member Function Documentation

static bool clang::MicrosoftVTableContext::classof ( const VTableContextBase VT) [inline, static]

Definition at line 540 of file VTableBuilder.h.

References clang::VTableContextBase::isMicrosoft().

Definition at line 3642 of file VTableBuilder.cpp.

References clang::VirtualBaseInfo::VBPtrPaths.

const ThunkInfoVectorTy* clang::MicrosoftVTableContext::getThunkInfo ( GlobalDecl  GD) [inline, override, virtual]

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 3634 of file VTableBuilder.cpp.

References clang::VirtualBaseInfo::VBTableIndices.

Definition at line 3647 of file VTableBuilder.cpp.

Definition at line 3655 of file VTableBuilder.cpp.

References clang::ast_matchers::id().


The documentation for this class was generated from the following files: