summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-10 18:02:30 -0500
committerDavid Robillard <d@drobilla.net>2022-12-10 19:04:45 -0500
commit02446e898d8991fab606aa8d3d964af19d2e4b4f (patch)
tree556aaf70f913960999d9ef6cc68c9ec45fcf0526 /.clang-tidy
parent3f209ff081bbcf0f15a3acfcb04b3371011f9f9d (diff)
downloadlilv-02446e898d8991fab606aa8d3d964af19d2e4b4f.tar.gz
lilv-02446e898d8991fab606aa8d3d964af19d2e4b4f.tar.bz2
lilv-02446e898d8991fab606aa8d3d964af19d2e4b4f.zip
Make clang-tidy configuration cleaner when run via meson
Unfortunately, meson drives clang-tidy in a way that can't handle C and C++ in the same project.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy3
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 333f376..a05eaf9 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -7,7 +7,10 @@ Checks: >
-altera-*,
-bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
+ -clang-diagnostic-unused-function,
+ -clang-diagnostic-unused-macros,
-llvmlibc-*,
+ -readability-identifier-length,
CheckOptions:
- key: hicpp-uppercase-literal-suffix.NewSuffixes
value: 'L;U;UL;ULL'