diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-03 18:04:08 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-03 20:24:29 +0200 |
commit | 23a7f3baa33265519840609dc54e950615ec39b1 (patch) | |
tree | ff2737f76b63a2acf5f8a9fffd5c15e3eb4c46c8 /tools/report-clang-tidy.sh | |
parent | WebProfile refactoring (diff) | |
download | smolbote-23a7f3baa33265519840609dc54e950615ec39b1.tar.xz |
Merge some QoL improvements from staging branch
- Build executable in top-level buildroot
- Use meson sourceset
- Pull in poi-crash and poi-update from staging
- Remove extraneous scripts in tools/
- Pull in configure scripts in scripts/
Diffstat (limited to 'tools/report-clang-tidy.sh')
-rwxr-xr-x | tools/report-clang-tidy.sh | 16 |
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 - |