diff --git a/man/manual-premium.md b/man/manual-premium.md index 4c30dc6d4b3..f5b307749ca 100644 --- a/man/manual-premium.md +++ b/man/manual-premium.md @@ -1340,6 +1340,14 @@ Command to activate Misra C++ 2023 checkers: cppcheck --premium=misra-c++-2023 ... +## Suffixes + +Some rules can have a suffix appended to the rule id to mark a sub-category of the warning. This gives the subset its own id, so you can suppress just those cases while keeping the rest of the rule active. Additional information is included in the warning notes if the suffix is present. + +**-positive-constexpr** + +the value of the expression is a non-negative constant. This suffix is considered safe to suppress by Cppcheck. + ### Checking all C and C++ files The `cert-c` and `misra-c-*` coding standards target C and therefore the checkers only check C files by default.