cppcheck: Organizes the suppression list

- cppcheck warnings will lead to build failure
This commit is contained in:
Felipe Zimmerle
2020-01-16 10:03:02 -03:00
parent 86a5f471a9
commit cd9b8aa93b
2 changed files with 55 additions and 55 deletions

View File

@@ -56,13 +56,15 @@ parser:
cppcheck:
@cppcheck \
--suppressions-list=./test/cppcheck_suppressions.txt \
--enable=all \
--inconclusive \
--template="warning: {file},{line},{severity},{id},{message}" \
--std=posix . 2> cppcheck.txt
cat cppcheck.txt | grep -v "/ lalr1.cc"
@cppcheck -U YYSTYPE \
--suppressions-list=./test/cppcheck_suppressions.txt \
--enable=all \
--inconclusive \
--template="warning: {file},{line},{severity},{id},{message}" \
-I headers -I . -I others -I src -I others/mbedtls -I src/parser \
--error-exitcode=0 \
-i "src/parser/seclang-parser.cc" -i "src/parser/seclang-scanner.cc" \
.
check-static: cppcheck