struct ASTRecordLayout::VBaseInfo

Declaration

struct ASTRecordLayout::VBaseInfo { /* full declaration omitted */ };

Declared at: clang/include/clang/AST/RecordLayout.h:40

Member Variables

public clang::CharUnits VBaseOffset
The offset to this virtual base in the complete-object layout of this class.
private bool HasVtorDisp = false
Whether this virtual base requires a vtordisp field in the Microsoft ABI. These fields are required for certain operations in constructors and destructors.

Method Overview

Methods

VBaseInfo()

Declared at: clang/include/clang/AST/RecordLayout.h:52

VBaseInfo(clang::CharUnits VBaseOffset,
          bool hasVtorDisp)

Declared at: clang/include/clang/AST/RecordLayout.h:53

Parameters

clang::CharUnits VBaseOffset
bool hasVtorDisp

bool hasVtorDisp() const

Declared at: clang/include/clang/AST/RecordLayout.h:56