createBlockDuplicatedArrayLiteral

Helper for NewExp Create an array literal consisting of 'elem' duplicated 'dim' times.

extern (C++)
createBlockDuplicatedArrayLiteral

Parameters

loc
Type: Loc

source location where the interpretation occurs

type
Type: Type

target type of the result

elem

the source of array element, it will be owned by the result

dim
Type: size_t

element number of the result

Return Value

Constructed ArrayLiteralExp

Meta