cppcheck: Make less annoying

Force checking all #ifdef paths, disable StlAlgorithm
suggestion

Removes a lot of borderline useless spew.

[ci skip]
This commit is contained in:
Fabian Homborg 2020-11-15 12:41:55 +01:00
parent 4e69ccba2e
commit 236587774e
2 changed files with 4 additions and 0 deletions

View File

@ -3,4 +3,5 @@
cppcheck --enable=all --std=posix --quiet \
--suppressions-list=build_tools/cppcheck.suppressions \
--rule-file=build_tools/cppcheck.rules \
--force \
./src/

View File

@ -10,3 +10,6 @@ varFuncNullUB
unmatchedSuppression
// Suppress this one because it reports assert(condition && "message"), which we use all over the place
incorrectStringBooleanError
// This is of very little use and pops up *everywhere*.
useStlAlgorithm