clang 20.0.0git
|
A helper class of ConstantInitBuilder, used for building constant array initializers. More...
#include "clang/CodeGen/ConstantInitBuilder.h"
Friends | |
template<class Traits > | |
class | ConstantInitBuilderTemplateBase |
template<class Impl , class Traits > | |
class | CodeGen::ConstantAggregateBuilderTemplateBase |
Additional Inherited Members | |
Public Types inherited from clang::CodeGen::ConstantArrayBuilderTemplateBase< ConstantInitBuilderTraits > | |
using | InitBuilder = typename Traits::InitBuilder |
using | AggregateBuilderBase = typename Traits::AggregateBuilderBase |
Public Types inherited from clang::CodeGen::ConstantAggregateBuilderTemplateBase< Impl, Traits > | |
using | InitBuilder = typename Traits::InitBuilder |
using | ArrayBuilder = typename Traits::ArrayBuilder |
using | StructBuilder = typename Traits::StructBuilder |
using | AggregateBuilderBase = typename Traits::AggregateBuilderBase |
Public Member Functions inherited from clang::CodeGen::ConstantAggregateBuilderTemplateBase< Impl, Traits > | |
ArrayBuilder | beginArray (llvm::Type *eltTy=nullptr) |
StructBuilder | beginStruct (llvm::StructType *ty=nullptr) |
void | finishAndAddTo (AggregateBuilderBase &parent) |
Given that this builder was created by beginning an array or struct component on the given parent builder, finish the array/struct component and add it to the parent. | |
template<class... As> | |
llvm::GlobalVariable * | finishAndCreateGlobal (As &&...args) |
Given that this builder was created by beginning an array or struct directly on a ConstantInitBuilder, finish the array/struct and create a global variable with it as the initializer. | |
void | finishAndSetAsInitializer (llvm::GlobalVariable *global) |
Given that this builder was created by beginning an array or struct directly on a ConstantInitBuilder, finish the array/struct and set it as the initializer of the given global variable. | |
ConstantInitFuture | finishAndCreateFuture () |
Given that this builder was created by beginning an array or struct directly on a ConstantInitBuilder, finish the array/struct and return a future which can be used to install the initializer in a global later. | |
Protected Member Functions inherited from clang::CodeGen::ConstantArrayBuilderTemplateBase< ConstantInitBuilderTraits > | |
ConstantArrayBuilderTemplateBase (InitBuilder &builder, AggregateBuilderBase *parent, llvm::Type *eltTy) | |
Protected Member Functions inherited from clang::CodeGen::ConstantAggregateBuilderTemplateBase< Impl, Traits > | |
ConstantAggregateBuilderTemplateBase (InitBuilder &builder, AggregateBuilderBase *parent) | |
Impl & | asImpl () |
A helper class of ConstantInitBuilder, used for building constant array initializers.
Definition at line 547 of file ConstantInitBuilder.h.
|
friend |
Definition at line 554 of file ConstantInitBuilder.h.
|
friend |
Definition at line 550 of file ConstantInitBuilder.h.