AutosarC++17_10-A12.4.2

If a public destructor of a class is non-virtual, then the class should be declared final

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

non_final

If a public destructor of a class is non-virtual, then the class should be declared final.

None

False

Options

consider_implicit_destructor

consider_implicit_destructor : bool = False

If set false, classes without destructor are tolerated.