isPrimaryDtor

Determine if sym is the 'primary' destructor, that is, the most-aggregate destructor (the one that is defined as __xdtor)

bool
isPrimaryDtor
(
const Dsymbol sym
)

Parameters

sym Dsymbol

Dsymbol

Return Value

Type: bool

true if sym is the primary destructor for an aggregate

Meta