Skip to content
Snippets Groups Projects
Unverified Commit cacd8f9e authored by Roman Azarenko's avatar Roman Azarenko
Browse files

cppcheck: enable --inline-suppr by default

This feature allows to add inline check suppressions, for example

    some_unusual_code() {  // cppcheck-suppress syntaxError
parent 502bab56
Branches
Tags
No related merge requests found
variables:
RUN_FLAWFINDER: "flawfinder --falsepositive -m 4"
RUN_CPPCHECK: "cppcheck --enable=all --error-exitcode=1 --suppress=unusedFunction --suppress=unreadVariable ."
RUN_CPPCHECK: "cppcheck --enable=all --error-exitcode=1 --inline-suppr --suppress=unusedFunction --suppress=unreadVariable ."
RUN_CPD: "/home/user/pmd-bin-6.19.0/bin/run.sh cpd --minimum-tokens 200 --language c --exclude ./test/cmocka --files"
SOURCE_FOLDER: "src"
COMMON_IMAGE: "iopsys/code-analysis:latest"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment