clang 22.0.0git
clang::VTTBuilder Class Reference

Class for building VTT layout information. More...

#include "clang/AST/VTTBuilder.h"

Public Member Functions

 VTTBuilder (ASTContext &Ctx, const CXXRecordDecl *MostDerivedClass, bool GenerateDefinition)
const VTTComponentsVectorTygetVTTComponents () const
const VTTVTablesVectorTygetVTTVTables () const
const llvm::DenseMap< BaseSubobject, uint64_t > & getSubVTTIndices () const
 Returns a reference to the sub-VTT indices.
const llvm::DenseMap< BaseSubobject, uint64_t > & getSecondaryVirtualPointerIndices () const
 Returns a reference to the secondary virtual pointer indices.

Detailed Description

Class for building VTT layout information.

Definition at line 71 of file VTTBuilder.h.

Constructor & Destructor Documentation

◆ VTTBuilder()

VTTBuilder::VTTBuilder ( ASTContext & Ctx,
const CXXRecordDecl * MostDerivedClass,
bool GenerateDefinition )

Definition at line 30 of file VTTBuilder.cpp.

References clang::CharUnits::Zero().

Member Function Documentation

◆ getSecondaryVirtualPointerIndices()

const llvm::DenseMap< BaseSubobject, uint64_t > & clang::VTTBuilder::getSecondaryVirtualPointerIndices ( ) const
inline

Returns a reference to the secondary virtual pointer indices.

Definition at line 157 of file VTTBuilder.h.

Referenced by clang::CIRGen::CIRGenVTables::getSecondaryVirtualPointerIndex().

◆ getSubVTTIndices()

const llvm::DenseMap< BaseSubobject, uint64_t > & clang::VTTBuilder::getSubVTTIndices ( ) const
inline

Returns a reference to the sub-VTT indices.

Definition at line 151 of file VTTBuilder.h.

Referenced by clang::CIRGen::CIRGenVTables::getSubVTTIndex().

◆ getVTTComponents()

const VTTComponentsVectorTy & clang::VTTBuilder::getVTTComponents ( ) const
inline

◆ getVTTVTables()

const VTTVTablesVectorTy & clang::VTTBuilder::getVTTVTables ( ) const
inline

Definition at line 146 of file VTTBuilder.h.

Referenced by clang::CIRGen::CIRGenVTables::emitVTTDefinition().


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