aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-30 16:21:43 -0400
committerDavid Robillard <d@drobilla.net>2022-05-30 16:21:43 -0400
commitf43249e582dd257e533dce71a5cd34785d41f7ef (patch)
tree61f767c07b91601a2701803c58bac84762f2defb
parent0ea0fb5a9624ade72fc3c1ea06ff3fa8e1c4ca7f (diff)
downloadjalv-f43249e582dd257e533dce71a5cd34785d41f7ef.tar.gz
jalv-f43249e582dd257e533dce71a5cd34785d41f7ef.tar.bz2
jalv-f43249e582dd257e533dce71a5cd34785d41f7ef.zip
Suppress clang-tidy warnings from C included in C++
Unfortunately, there's no way to exclude included headers from being checked in clang-tidy. The clang-tidy check being reliably green is more important than the possibility of these issues showing up in the code (especially since they only apply to the Qt interface anyway), though, so just disable them for now.
-rw-r--r--.clang-tidy5
1 files changed, 5 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 0c011a4..6699db9 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,5 +1,7 @@
Checks: >
*,
+ -*-c-arrays,
+ -*-deprecated-headers,
-*-magic-numbers,
-*-named-parameter,
-*-narrowing-conversions,
@@ -29,7 +31,10 @@ Checks: >
-llvm-header-guard,
-llvmlibc-*,
-misc-no-recursion,
+ -modernize-redundant-void-arg,
+ -modernize-use-nullptr,
-modernize-use-trailing-return-type,
+ -modernize-use-using,
-readability-function-cognitive-complexity,
-readability-implicit-bool-conversion,
-readability-non-const-parameter,