SageBuilder::buildArrayType
Build an ArrayType based on dimension information. Note, the index member variable will be set to a NullExpression.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
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