Enhancement #721
Allow inline-suppression in GenerateCppcheck.cmake
Status: | Resolved | Start date: | 11/15/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | cmake | |||
Target version: | - |
Description
Either write it directly into the file, as done here:
https://code.cor-lab.org/projects/nemomath/repository/diff/trunk/nemomath/cmake/GenerateCppcheck.cmake?rev=131&rev_to=115
... or allow dynamic enabling.
Extremely useful if you have false-positives in frequently changing files, since you don't need to specify a line number to suppress warnings, but write a code comment like
// cppcheck-suppress operatorEqVarError
in front of the code-line.
Associated revisions
Enable inline suppressions for cppcheck
fixes #721
History
#1 Updated by J. Wienke over 12 years ago
- Status changed from New to In Progress
#2 Updated by J. Wienke over 12 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset r421.