Skip to content

Commit 215ad01

Browse files
committed
Documentation: Added suffix section
1 parent 86f4c91 commit 215ad01

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

man/manual-premium.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ portability warnings. Implementation defined behavior. 64-bit portability. Some
193193
configuration problems, which does not relate to the syntactical correctness, but the used Cppcheck configuration could
194194
be improved.
195195

196+
## Suffixes
197+
198+
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.
199+
200+
**-positive-constexpr**
201+
202+
the value of the expression is a non-negative constant.
203+
196204
## Possible speedup analysis of template code
197205

198206
Cppcheck instantiates the templates in your code.

0 commit comments

Comments
 (0)