Skip to content

SageBuilder::buildArrayType

All overloads of SageBuilder::buildArrayType

Build an ArrayType based on dimension information.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

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

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