Main Content

Group 6: Enumerations

The custom rules 6.x in Polyspace® enforce naming conventions for enumerations. For information on how to enable these rules, see Check custom rules (-custom-rules).

NumberRuleDetails
6.1All enumeration tags must follow the specified pattern. 
6.2All enumeration types must follow the specified pattern.Enumeration types are aliases for previously defined enumerations (defined with the typedef or using keyword).
6.3All enumeration constants must follow the specified pattern.