summaryrefslogtreecommitdiffstats
path: root/test/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r--test/.clang-tidy19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
new file mode 100644
index 0000000..f6f74ab
--- /dev/null
+++ b/test/.clang-tidy
@@ -0,0 +1,19 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ -*-magic-numbers,
+ -android-cloexec-fopen,
+ -bugprone-branch-clone,
+ -bugprone-narrowing-conversions,
+ -cert-err33-c,
+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -concurrency-mt-unsafe,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-narrowing-conversions,
+ -hicpp-multiway-paths-covered,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -readability-function-cognitive-complexity,
+ -readability-suspicious-call-argument,
+InheritParentConfig: true