forked from swift-project/pilotclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cppcheck.supp
53 lines (41 loc) · 1.79 KB
/
cppcheck.supp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// 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]
// Issues introduced by refactoring - expected to be fixed
knownConditionTrueFalse:src/blackmisc/simulation/interpolator.cpp
knownConditionTrueFalse:src/blackmisc/aviation/aircraftsituationchange.cpp
// Ignore noExplicitConstructor for now.
noExplicitConstructor
// Ignore useStlAlgorithm for now (consider designing our own useBlackMiscAlgorithm checks)
useStlAlgorithm
// Internal errors
cppcheckError
// g2clib
variableScope:src/plugins/weatherdata/gfs/g2clib/*.c
knownConditionTrueFalse:src/plugins/weatherdata/gfs/g2clib/*.c
redundantAssignment:src/plugins/weatherdata/gfs/g2clib/*.c
unreadVariable:src/plugins/weatherdata/gfs/g2clib/*.c
invalidFunctionArg:src/plugins/weatherdata/gfs/g2clib/*.c
// Ignore unusedFunction as it has too many false positives (especially in tests)
unusedFunction
// Conflicts with CppCoreGuidelines ES.20 Always initialize an object
redundantInitialization
// Perf samples
redundantAssignment:samples/blackmisc/samplesperformance.*
unreadVariable:samples/blackmisc/samplesperformance.*
// Benign
duplicateCondition:src/xswiftbus/libxplanemp/src/XPMPPlaneRenderer.cpp
// Unused file
unknownMacro:src/xswiftbus/libxplanemp/src/BitmapUtils.cpp
// False positives
returnDanglingLifetime:src/blackmisc/iterator.h
unreadVariable:tests/blackcore/testreaders/testreaders.cpp
unknownMacro:src/blackmisc/aviation/altitude.h
unknownMacro:src/blackmisc/geo/elevationplane.h
unknownMacro:tests/blackmisc/testsharedstate/testsharedstate.h
ctuArrayIndex:src/xswiftbus/libxplanemp/src/XPMPPlaneRenderer.cpp
// False positive memory leaks due to Qt parent/child relationship
unsafeClassCanLeak