aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-09-09 13:10:43 -0400
committerDavid Robillard <d@drobilla.net>2022-09-09 13:10:50 -0400
commit24327302723df7c9d32d9a540cd1f586489ea616 (patch)
treea4a1f09cb13907c690778fd7f7c945410724d90f /plugins
parent931fe4f70b48e0f020c3f999c253009d99b860fa (diff)
downloadlv2-24327302723df7c9d32d9a540cd1f586489ea616.tar.xz
Clean up clang-tidy configuration
Diffstat (limited to 'plugins')
-rw-r--r--plugins/.clang-tidy22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/.clang-tidy b/plugins/.clang-tidy
new file mode 100644
index 0000000..b1adcb3
--- /dev/null
+++ b/plugins/.clang-tidy
@@ -0,0 +1,22 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-narrowing-conversions,
+ -*-uppercase-literal-suffix,
+ -altera-*,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-macro-parentheses,
+ -cert-err33-c,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -llvmlibc-*,
+ -misc-unused-parameters,
+ -performance-no-int-to-ptr,
+ -readability-function-cognitive-complexity,
+ -readability-identifier-length,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file