struct MethodVFTableLocation

Declaration

struct MethodVFTableLocation { /* full declaration omitted */ };

Declared at: clang/include/clang/AST/VTableBuilder.h:510

Member Variables

public uint64_t VBTableIndex
If nonzero, holds the vbtable index of the virtual base with the vfptr.
public const clang::CXXRecordDecl* VBase
If nonnull, holds the last vbase which contains the vfptr that the method definition is adjusted to.
public clang::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.
public uint64_t Index
Method's index in the vftable.

Method Overview

Methods

MethodVFTableLocation()

Declared at: clang/include/clang/AST/VTableBuilder.h:525

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

Declared at: clang/include/clang/AST/VTableBuilder.h:529

Parameters

uint64_t VBTableIndex
const clang::CXXRecordDecl* VBase
clang::CharUnits VFPtrOffset
uint64_t Index