class ConstantInitBuilderTemplateBase

Declaration

template <class Traits>
class ConstantInitBuilderTemplateBase : public ConstantInitBuilderBase { /* full declaration omitted */ };

Description

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.

Declared at: clang/include/clang/CodeGen/ConstantInitBuilder.h:504

Inherits from: ConstantInitBuilderBase

Templates

Traits

Member Variables

Method Overview

  • protected ConstantInitBuilderTemplateBase<Traits>(clang::CodeGen::CodeGenModule & CGM)
  • public clang::CodeGen::ConstantInitBuilderTemplateBase::ArrayBuilder beginArray(llvm::Type * eltTy = nullptr)
  • public clang::CodeGen::ConstantInitBuilderTemplateBase::StructBuilder beginStruct(llvm::StructType * structTy = nullptr)

Inherited from ConstantInitBuilderBase:

    Methods

    ConstantInitBuilderTemplateBase<Traits>(
        clang::CodeGen::CodeGenModule& CGM)

    Declared at: clang/include/clang/CodeGen/ConstantInitBuilder.h:506

    Parameters

    clang::CodeGen::CodeGenModule& CGM

    clang::CodeGen::ConstantInitBuilderTemplateBase::
        ArrayBuilder
        beginArray(llvm::Type* eltTy = nullptr)

    Declared at: clang/include/clang/CodeGen/ConstantInitBuilder.h:514

    Parameters

    llvm::Type* eltTy = nullptr

    clang::CodeGen::ConstantInitBuilderTemplateBase::
        StructBuilder
        beginStruct(
            llvm::StructType* structTy = nullptr)

    Declared at: clang/include/clang/CodeGen/ConstantInitBuilder.h:518

    Parameters

    llvm::StructType* structTy = nullptr