diff options
| author | Fuwn <[email protected]> | 2024-05-23 18:20:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-23 18:20:29 -0700 |
| commit | ccfcdec74450512a4a46bf0d1635160f7f5d2daf (patch) | |
| tree | 5c39e3127dc4c059464683d583829975c35c1131 | |
| parent | build(config.ninja): squeeze out every little drop of performance (diff) | |
| download | seiwm-ccfcdec74450512a4a46bf0d1635160f7f5d2daf.tar.xz seiwm-ccfcdec74450512a4a46bf0d1635160f7f5d2daf.zip | |
chore(config.ninja): tighter clang-tidy checks
| -rw-r--r-- | build.ninja | 2 | ||||
| -rw-r--r-- | config.ninja | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/build.ninja b/build.ninja index 49ebcf0..cebbe87 100644 --- a/build.ninja +++ b/build.ninja @@ -32,7 +32,7 @@ rule clang_format command = clang-format -i -style=LLVM ./*.{c,h} rule clang_tidy - command = ninja -t compdb > compile_commands.json && clang-tidy ./*.{c,h} + command = ninja -t compdb > compile_commands.json && clang-tidy -checks="${CLANG_TIDY_CHECKS}" ./*.{c,h} build format: clang_format diff --git a/config.ninja b/config.ninja index c31807d..7f95f9d 100644 --- a/config.ninja +++ b/config.ninja @@ -45,3 +45,6 @@ LDFLAGS = ${LIBS} # Compiler CC = $${CC:-cc} + +# clang-tidy +CLANG_TIDY_CHECKS='-*,bugprone-*,clang-analyzer-*,concurrency-*,cppcoreguildelines-*,llvm-*,misc-*,modernize-*,performance-*,portability-*,readability-*' |