Expression.checkOverridenDtor

Checks whether f is a generated DtorDeclaration that hides a user-defined one which passes check while f doesn't (e.g. when the user defined dtor is pure but the generated dtor is not). In that case the method will identify and print all members causing the attribute missmatch.

class Expression
extern (D) final
void
checkOverridenDtor
(,,
scope bool function check
,
const string checkName
)

Parameters

sc Scope*

scope

f FuncDeclaration

potential DtorDeclaration

check bool function

current check (e.g. whether it's pure)

checkName string

the kind of check (e.g. "pure")

Meta