buildDtors

Create aggregate destructor for struct/class by aggregating all the destructors in userDtors[] with the destructors for all the members. Sets ad's fieldDtor, aggrDtor, dtor and tidtor fields.

void
buildDtors

Parameters

ad AggregateDeclaration

struct or class to build destructor for

sc Scope*

context Note: Close similarity with StructDeclaration::buildPostBlit(), and the ordering changes (runs backward instead of forwards).

Meta