aboutsummaryrefslogtreecommitdiffstats
path: root/test/headers/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'test/headers/.clang-tidy')
-rw-r--r--test/headers/.clang-tidy21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy
new file mode 100644
index 0000000..6ef3ba1
--- /dev/null
+++ b/test/headers/.clang-tidy
@@ -0,0 +1,21 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ *,
+ -*-magic-numbers,
+ -altera-*,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-macro-parentheses,
+ -llvm-header-guard,
+ -llvmlibc-restrict-system-libc-headers,
+ -performance-no-int-to-ptr,
+ -readability-identifier-length,
+CheckOptions:
+ - key: hicpp-uppercase-literal-suffix.NewSuffixes
+ value: L;U;f
+ - key: readability-uppercase-literal-suffix.NewSuffixes
+ value: L;U;f
+FormatStyle: file
+HeaderFilterRegex: 'lv2/.*\.h'
+WarningsAsErrors: '*'