clang  3.7.0
Public Member Functions | Public Attributes | List of all members
clang::MicrosoftVTableContext::MethodVFTableLocation Struct Reference

#include <VTableBuilder.h>

Collaboration diagram for clang::MicrosoftVTableContext::MethodVFTableLocation:
[legend]

Public Member Functions

 MethodVFTableLocation ()
 
 MethodVFTableLocation (uint64_t VBTableIndex, const CXXRecordDecl *VBase, CharUnits VFPtrOffset, uint64_t Index)
 
bool operator< (const MethodVFTableLocation &other) const
 

Public Attributes

uint64_t VBTableIndex
 If nonzero, holds the vbtable index of the virtual base with the vfptr. More...
 
const CXXRecordDeclVBase
 
CharUnits VFPtrOffset
 
uint64_t Index
 Method's index in the vftable. More...
 

Detailed Description

Definition at line 445 of file VTableBuilder.h.

Constructor & Destructor Documentation

clang::MicrosoftVTableContext::MethodVFTableLocation::MethodVFTableLocation ( )
inline

Definition at line 460 of file VTableBuilder.h.

clang::MicrosoftVTableContext::MethodVFTableLocation::MethodVFTableLocation ( uint64_t  VBTableIndex,
const CXXRecordDecl VBase,
CharUnits  VFPtrOffset,
uint64_t  Index 
)
inline

Definition at line 464 of file VTableBuilder.h.

Member Function Documentation

bool clang::MicrosoftVTableContext::MethodVFTableLocation::operator< ( const MethodVFTableLocation other) const
inline

Definition at line 469 of file VTableBuilder.h.

References Index, VBase, VBTableIndex, and VFPtrOffset.

Member Data Documentation

uint64_t clang::MicrosoftVTableContext::MethodVFTableLocation::Index

Method's index in the vftable.

Definition at line 458 of file VTableBuilder.h.

Referenced by operator<().

const CXXRecordDecl* clang::MicrosoftVTableContext::MethodVFTableLocation::VBase

If nonnull, holds the last vbase which contains the vfptr that the method definition is adjusted to.

Definition at line 451 of file VTableBuilder.h.

Referenced by getClassAtVTableLocation(), and operator<().

uint64_t clang::MicrosoftVTableContext::MethodVFTableLocation::VBTableIndex

If nonzero, holds the vbtable index of the virtual base with the vfptr.

Definition at line 447 of file VTableBuilder.h.

Referenced by operator<().

CharUnits clang::MicrosoftVTableContext::MethodVFTableLocation::VFPtrOffset

This is the offset of the vfptr from the start of the last vbase, or the complete type if there are no virtual bases.

Definition at line 455 of file VTableBuilder.h.

Referenced by getClassAtVTableLocation(), and operator<().


The documentation for this struct was generated from the following file: