Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions man/manual-premium.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down