Main Content
Group 7: Functions
The custom rules 7.x
in Polyspace® enforce naming conventions for functions and function parameters. For
information on how to enable these rules, see Check custom rules
(-custom-rules)
.
Number | Rule | Details |
---|---|---|
7.1 | All global function names must follow the specified pattern. | A global function is a function with external linkage. |
7.2 | All static function names must follow the specified pattern. | A static function is a function with internal linkage. This rule does not apply to class member functions. |
7.3 | All function parameters must follow the specified pattern. | In C++, applies to non-member functions. |