TypeFunction.parameterStorageClass

Take the specified storage class for p, and use the function signature to infer whether STC.scope_ and STC.return_ should be OR'd in. (This will not affect the name mangling.)

class TypeFunction
StorageClass
parameterStorageClass
(,,
VarDeclarations* outerVars = null
,
bool indirect = false
)

Parameters

tthis Type

type of this parameter, null if none

p Parameter

parameter to this function

outerVars VarDeclarations*

context variables p could escape into, if any

indirect bool

is this for an indirect or virtual function call?

Return Value

storage class with STC.scope_ or STC.return_ OR'd in

Meta