AutosarC++18_10-A7.2.1¶
An expression with enum underlying type shall only have values corresponding to the enumerators of the enumeration
Required inputs: IR, StaticSemanticAnalysis
Note
For legal reasons, this rule’s description is not part of the public documentation.