clang 18.0.0git
|
A template class designed to allow other frontends to easily customize the builder classes used by ConstantInitBuilder, and thus to extend the API to work with the abstractions they prefer. More...
#include "clang/CodeGen/ConstantInitBuilder.h"
Public Types | |
using | InitBuilder = typename Traits::InitBuilder |
using | ArrayBuilder = typename Traits::ArrayBuilder |
using | StructBuilder = typename Traits::StructBuilder |
Public Member Functions | |
ArrayBuilder | beginArray (llvm::Type *eltTy=nullptr) |
StructBuilder | beginStruct (llvm::StructType *structTy=nullptr) |
Protected Member Functions | |
ConstantInitBuilderTemplateBase (CodeGenModule &CGM) | |
![]() | |
ConstantInitBuilderBase (CodeGenModule &CGM) | |
~ConstantInitBuilderBase () | |
A template class designed to allow other frontends to easily customize the builder classes used by ConstantInitBuilder, and thus to extend the API to work with the abstractions they prefer.
This would probably not be necessary if C++ just supported extension methods.
Definition at line 499 of file ConstantInitBuilder.h.
using clang::CodeGen::ConstantInitBuilderTemplateBase< Traits >::ArrayBuilder = typename Traits::ArrayBuilder |
Definition at line 506 of file ConstantInitBuilder.h.
using clang::CodeGen::ConstantInitBuilderTemplateBase< Traits >::InitBuilder = typename Traits::InitBuilder |
Definition at line 505 of file ConstantInitBuilder.h.
using clang::CodeGen::ConstantInitBuilderTemplateBase< Traits >::StructBuilder = typename Traits::StructBuilder |
Definition at line 507 of file ConstantInitBuilder.h.
|
inlineprotected |
Definition at line 501 of file ConstantInitBuilder.h.
|
inline |
Definition at line 509 of file ConstantInitBuilder.h.
|
inline |
Definition at line 513 of file ConstantInitBuilder.h.
Referenced by buildBlockDescriptor(), buildGlobalBlock(), and clang::CodeGen::CodeGenVTables::GenerateConstructionVTable().