clang 17.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 504 of file ConstantInitBuilder.h.
using clang::CodeGen::ConstantInitBuilderTemplateBase< Traits >::ArrayBuilder = typename Traits::ArrayBuilder |
Definition at line 511 of file ConstantInitBuilder.h.
using clang::CodeGen::ConstantInitBuilderTemplateBase< Traits >::InitBuilder = typename Traits::InitBuilder |
Definition at line 510 of file ConstantInitBuilder.h.
using clang::CodeGen::ConstantInitBuilderTemplateBase< Traits >::StructBuilder = typename Traits::StructBuilder |
Definition at line 512 of file ConstantInitBuilder.h.
|
inlineprotected |
Definition at line 506 of file ConstantInitBuilder.h.
|
inline |
Definition at line 514 of file ConstantInitBuilder.h.
|
inline |
Definition at line 518 of file ConstantInitBuilder.h.
Referenced by buildBlockDescriptor(), buildGlobalBlock(), and clang::CodeGen::CodeGenVTables::GenerateConstructionVTable().