mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:17:12 +08:00
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:
parent
4e69ccba2e
commit
236587774e
|
@ -3,4 +3,5 @@
|
|||
cppcheck --enable=all --std=posix --quiet \
|
||||
--suppressions-list=build_tools/cppcheck.suppressions \
|
||||
--rule-file=build_tools/cppcheck.rules \
|
||||
--force \
|
||||
./src/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user