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

#include "clang/AST/VTableBuilder.h"

Collaboration diagram for clang::MicrosoftVTableContext::MethodVFTableLocation:
Collaboration graph
[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
 If nonnull, holds the last vbase which contains the vfptr that the method definition is adjusted to. More...
 
CharUnits 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. More...
 
uint64_t Index
 Method's index in the vftable. More...
 

Detailed Description

Definition at line 484 of file VTableBuilder.h.

Constructor & Destructor Documentation

◆ MethodVFTableLocation() [1/2]

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

Definition at line 499 of file VTableBuilder.h.

◆ MethodVFTableLocation() [2/2]

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

Definition at line 503 of file VTableBuilder.h.

Member Function Documentation

◆ operator<()

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

Definition at line 508 of file VTableBuilder.h.

References Index, VBase, VBTableIndex, and VFPtrOffset.

Member Data Documentation

◆ Index

uint64_t clang::MicrosoftVTableContext::MethodVFTableLocation::Index

Method's index in the vftable.

Definition at line 497 of file VTableBuilder.h.

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

◆ VBase

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 490 of file VTableBuilder.h.

Referenced by operator<().

◆ VBTableIndex

uint64_t clang::MicrosoftVTableContext::MethodVFTableLocation::VBTableIndex

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

Definition at line 486 of file VTableBuilder.h.

Referenced by operator<().

◆ VFPtrOffset

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 494 of file VTableBuilder.h.

Referenced by operator<().


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