buildExternDDtor

build a shim function around the compound dtor that translates a C++ destructor to a destructor with extern(D) calling convention

Parameters

ad AggregateDeclaration

the aggregate that contains the destructor to wrap

sc Scope*

the scope in which to analyze the new function

Return Value

the shim destructor, semantically analyzed and added to the class as a member

Suggestion Box / Bug Report