aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/doc/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cpp/doc/.clang-tidy')
-rw-r--r--bindings/cpp/doc/.clang-tidy22
1 files changed, 22 insertions, 0 deletions
diff --git a/bindings/cpp/doc/.clang-tidy b/bindings/cpp/doc/.clang-tidy
new file mode 100644
index 00000000..9d2aa259
--- /dev/null
+++ b/bindings/cpp/doc/.clang-tidy
@@ -0,0 +1,22 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ -*-magic-numbers,
+ -*-named-parameter,
+ -*-non-private-member-variables-in-classes,
+ -*-uppercase-literal-suffix,
+ -clang-analyzer-deadcode.DeadStores,
+ -clang-analyzer-nullability.NullablePassedToNonnull,
+ -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-pro-type-vararg,
+ -fuchsia-default-argument*,
+ -fuchsia-multiple-inheritance,
+ -fuchsia-overloaded-operator,
+ -google-runtime-references,
+ -hicpp-no-array-decay,
+ -hicpp-signed-bitwise,
+ -hicpp-vararg,
+ -readability-implicit-bool-conversion,
+InheritParentConfig: true