C++ macros shall only be used for: include guards, type qualifiers, or storage class specifiers
C++ macros shall only be used for: include guards, type qualifiers, or storage class specifiers.
The checker flags #define statements where the macros expand to
something other than include guards, type qualifiers or storage class specifiers
such as static, inline,
volatile, auto,
register and const.
If you expect a rule violation but do not see it, refer to Coding Standard Violations Not Displayed.
| Group: Preprocessing Directives |
| Category: Required |