AutosarC++19_03-A7.2.2

Enumeration underlying base type shall be explicitly defined

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

unbased_enum

Enumeration underlying base type shall be explicitly defined.

None

False

Options

allow_enumerations_inside_extern_c

allow_enumerations_inside_extern_c : bool = False

Whether enumerations defined inside an extern C block should be reported.
 

allow_enumerations_only_using_defaults

allow_enumerations_only_using_defaults : bool = False

Whether enumeration that only use default values as their enumerators should be reported.