Main Content
Group 4: Structures
The custom rules 4.x
in Polyspace® enforce naming conventions for structured data types. For information on
how to enable these rules, see Check custom rules
(-custom-rules)
.
Number | Rule | Details |
---|---|---|
4.1 | All
struct tags must follow the specified
pattern. | |
4.2 | All
struct types must follow the specified
pattern. | struct types are aliases for previously defined
structures (defined with the typedef or
using keyword). |
4.3 | All
struct fields must follow the specified
pattern. | |
4.4 | All
struct bit fields must follow the specified
pattern. |