mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
cppcheck 1.70 introduced a couple of new false positives which need to be ignored. refs #505
29 lines
956 B
Plaintext
29 lines
956 B
Plaintext
// cppcheck suppression file for swift.
|
||
//
|
||
// In order to suppress a false positive add a line using one of the following templates:
|
||
// [Explaining reason - comments]
|
||
// [error id]:[filename2]
|
||
// [error id]
|
||
|
||
// Not sensible qualification errors
|
||
// unnecessaryQualification
|
||
// no longer needed as discussed in slack
|
||
|
||
// Optional is a special case, this member should not be initialized
|
||
uninitMemberVar:src/blackmisc/optional.h
|
||
|
||
// False positive caused by missing support for C++11 feature
|
||
unusedPrivateFunction:src/blackmisc/tuple_private.h
|
||
unusedPrivateFunction:src/blackmisc/blackmiscfreefunctions.h
|
||
unusedPrivateFunction:src/blackmisc/compare.h
|
||
|
||
// cppcheck shouldn’t assume operator* is commutative
|
||
duplicateExpression:tests/blackmisc/testvectormatrix.cpp
|
||
duplicateExpression:tests/blackmisc/testphysicalquantities.cpp
|
||
|
||
// Ignore any preprocessor directives.
|
||
preprocessorErrorDirective
|
||
|
||
// Ignore noExplicitConstructor for now.
|
||
noExplicitConstructor
|