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