diff options
Diffstat (limited to 'tools/.clang-tidy')
-rw-r--r-- | tools/.clang-tidy | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/.clang-tidy b/tools/.clang-tidy new file mode 100644 index 0000000..c642a20 --- /dev/null +++ b/tools/.clang-tidy @@ -0,0 +1,18 @@ +# Copyright 2020-2022 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: 0BSD OR ISC + +Checks: > + -*-magic-numbers, + -*-uppercase-literal-suffix, + -android-cloexec-fopen, + -bugprone-easily-swappable-parameters, + -bugprone-narrowing-conversions, + -cert-err33-c, + -cert-err34-c, + -cppcoreguidelines-avoid-non-const-global-variables, + -cppcoreguidelines-narrowing-conversions, + -hicpp-signed-bitwise, + -misc-no-recursion, + -readability-function-cognitive-complexity, + -readability-identifier-length, +InheritParentConfig: true |