CppCheck cleanup (#975)

* Add support for inline cppcheck suppressions
* Clean out all known cppcheck issues
* Terminate toll-gate on found cppcheck issues
This commit is contained in:
Patrick Fallberg
2017-11-07 20:37:36 +01:00
committed by Thomas Mørch
parent e2ac85afbb
commit 2d5404de97
23 changed files with 86 additions and 50 deletions
@@ -57,8 +57,9 @@
"args": ["--force", "--library=avr",
"--suppressions-list=$project_path/../../.mystools/cppcheck/config/suppressions.cfg",
"-I$project_path/../../", "-I$project_path/../../core",
"-DMY_SIGNING_NODE_WHITELISTING",
"-DMY_SIGNING_SIMPLE_PASSWD"],
// Arduino IDE hardware location might differ on your system...
"-I$project_path/../../../../../Apps/arduino/hardware/tools/avr/avr/include",
"-DCPPCHECK", "--language=c++", "--inline-suppr"],
"enable": "style,information",
"excludes": [],
"std": []