buildDtor

Create inclusive destructor for struct/class by aggregating all the destructors in dtors[] with the destructors for all the members.

Parameters

ad AggregateDeclaration

struct or class to build destructor for

sc Scope*

context

Return Value

generated function, null if none needed Note: Close similarity with StructDeclaration::buildPostBlit(), and the ordering changes (runs backward instead of forwards).

Meta