Files
pilotclient/cppcheck.supp
Roland Winklmeier 77ce9f8b8a Split the giant test binaries into smaller unit tests
This is an intermediate step to have smaller unit tests. It is a trade off
between having many many test executables compared to a few bigger ones. But
this comes a lot closer to what QtTest is meant to be used.
2018-08-25 22:12:01 +02:00

37 lines
1.2 KiB
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]
// False positive caused by missing support for C++11 feature
unusedPrivateFunction:src/blackmisc/lockfree.h
// Ignore noExplicitConstructor for now.
noExplicitConstructor
// Ignore style issues in g2clib
variableScope:src/plugins/weatherdata/gfs/g2clib/*.c
// Shared pointers should be passed by value
passedByValue:src/blackmisc/lockfree.h
// Passing std::function by value is acceptable
passedByValue:src/xswiftbus/libxplanemp/src/ResourceManager.h
passedByValue:tests/blackcore/vatsim/testnetwork/expect.h
passedByValue:src/xswiftbus/command.h
// Unique pointers should be passed by value
passedByValue:src/xswiftbus/menus.h
passedByValue:src/xswiftbus/menus.cpp
// cppcheck cannot handle the advanced workaround in use
operatorEqRetRefThis:src/blackmisc/iterator.h
// Ignore unusedFunction as it has too many false positives (especially in tests)
unusedFunction
// Return value of those functions is not required.
ignoredReturnValue:src/blackmisc/dbusserver.cpp
ignoredReturnValue:src/blackmisc/simplecommandparser.cpp