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).

NumberRuleDetails
7.1All global function names must follow the specified pattern.A global function is a function with external linkage.
7.2All 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.3All function parameters must follow the specified pattern.In C++, applies to non-member functions.