mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
* dmg comment and follow up issue created * cppcheck-suppress passedByValue in cppcheck.supp * renamed from Xsb -> XSwiftBus * reverted wrong "static const QString dataStr"
34 lines
1.1 KiB
Plaintext
34 lines
1.1 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
|
|
|
|
// std::initializer_list should always be passed by value
|
|
passedByValue:src/blackmisc/input/actionhotkeylist.h
|
|
passedByValue:src/blackmisc/logcategorylist.h
|
|
passedByValue:src/blackmisc/platformset.cpp
|
|
|
|
// Shared pointers should be passed by value
|
|
passedByValue:src/blackmisc/lockfree.h
|
|
|
|
// False positive caused by cppcheck getting confused with preprocessor defines
|
|
ConfigurationNotChecked:src/xswiftbus/libxplanemp/src/XObjReadWrite.cpp
|
|
|
|
// Passing std::function by value is acceptable
|
|
passedByValue:src/xswiftbus/libxplanemp/src/ResourceManager.h
|
|
passedByValue:src/xswiftbus/command.h
|
|
|
|
// Unique pointers should be passed by value
|
|
passedByValue:src/xswiftbus/menus.h
|