aboutsummaryrefslogtreecommitdiff
path: root/tools/report-clang-tidy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/report-clang-tidy.sh')
-rwxr-xr-xtools/report-clang-tidy.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/report-clang-tidy.sh b/tools/report-clang-tidy.sh
deleted file mode 100755
index eddb703..0000000
--- a/tools/report-clang-tidy.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-cp build/compile_commands.json tidy/compile_commands.json
-
-# https://bugs.llvm.org/show_bug.cgi?id=37315
-sed -i 's/-pipe//g' tidy/compile_commands.json
-# do not scan system headers (replace -I with -isystem)
-sed -i 's/\-I\/usr\/include/\-isystem\/usr\/include/g' tidy/compile_commands.json
-
-for folder in $(find src lib -type d)
-do
- if [[ $folder != *'test' ]]; then
- clang-tidy -p tidy $folder/*.cpp $folder/*.h > reports/clangtidy-$(basename $folder).txt
- fi
-done
-