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).
| Number | Rule | Details |
|---|---|---|
| 6.1 | All enumeration tags must follow the specified pattern. | |
| 6.2 | All enumeration types must follow the specified pattern. | Enumeration types are aliases for previously defined enumerations
(defined with the typedef or using
keyword). |
| 6.3 | All enumeration constants must follow the specified pattern. |