Skip to content

SageBuilder::buildArrayType

buildArrayType overloads

Synopses

Declared in <SageIII/sageInterface/sageBuilder.h>

Build an ArrayType based on dimension information.

[[visibility("default")]]
SgArrayType*
buildArrayType(
    SgType* base_type,
    SgExprListExp* dim_info);

» more...

Build ArrayType

[[visibility("default")]]
SgArrayType*
buildArrayType(
    SgType* base_type = nullptr,
    SgExpression* index = nullptr);

» more...

Parameters

Name Description
base_type The base type of the array. Note that if the base type is itself an array type, the shape of the array may be changed.
dim_info A list of expressions describing the shape of the array. The rank of the array is set from the length of this list.

Created with MrDocs