Skip to content
Draft
Changes from 2 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 @@ -193,6 +193,14 @@ portability warnings. Implementation defined behavior. 64-bit portability. Some
configuration problems, which does not relate to the syntactical correctness, but the used Cppcheck configuration could
be improved.

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

@danmar danmar Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm.. we only write this suffix when it's technically safe to suppress the warning. I.e. for 10.3 the constant value must fit in the destination type.


## Possible speedup analysis of template code

Cppcheck instantiates the templates in your code.
Expand Down