aboutsummaryrefslogtreecommitdiff
path: root/tools/report-cppcheck.sh
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2019-01-18 16:56:54 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2019-01-18 16:56:54 +0100
commit9e73d0dac0774955348a5164087363c5b33927b8 (patch)
tree61eb5d729c4e48e1fabe596f387a3e67a1d1d415 /tools/report-cppcheck.sh
parentRewrite lib/web to lib/webprofile (diff)
downloadsmolbote-9e73d0dac0774955348a5164087363c5b33927b8.tar.xz
Add tools/report-clang-tidy.sh
- Fix various clang-tidy warnings - Fix use-after-free crash when deleting profiles
Diffstat (limited to 'tools/report-cppcheck.sh')
-rwxr-xr-xtools/report-cppcheck.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/report-cppcheck.sh b/tools/report-cppcheck.sh
new file mode 100755
index 0000000..2e42226
--- /dev/null
+++ b/tools/report-cppcheck.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cppcheck --enable=all --project=tidy/compile_commands.json 2> report.txt
+