defaultInit

Get the the default initialization expression for a type.

defaultInit
(,
const ref Loc loc
)

Parameters

mt
Type: Type

the type for which the init expression is returned

loc
Type: Loc

the location where the expression needs to be evaluated

Return Value

The initialization expression for the type.

Meta