summaryrefslogtreecommitdiff
path: root/scripts/cppcheck.sh
blob: 91ab007e321043cfe78446f7ece77184de4ab1a9 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# inline suppressions are enabled: use // cppcheck-suppress warningId
# --inconclusive: possible false positives
# --force: force checking of all configurations in files
# --verbose: output more detailed error information

cppcheck --enable=all --inline-suppr --project=cmake-build-debug/compile_commands.json