diff options
| author | David Robillard <d@drobilla.net> | 2025-11-13 19:49:47 -0500 |
|---|---|---|
| committer | David Robillard <d@drobilla.net> | 2025-11-13 20:00:28 -0500 |
| commit | 46ab5fa6820e069ae4e97a26712b03144a34a04f (patch) | |
| tree | e460d82a0f7ef0284085a3345b58f806766978a7 /test | |
| parent | cbe7327ff36ca6b142c43c0e0491b989726ecc9b (diff) | |
| download | lv2-46ab5fa6820e069ae4e97a26712b03144a34a04f.tar.xz | |
Strengthen clang-tidy configuration
Diffstat (limited to 'test')
| -rw-r--r-- | test/.clang-tidy | 7 | ||||
| -rw-r--r-- | test/cpp/.clang-tidy | 6 | ||||
| -rw-r--r-- | test/headers/.clang-tidy | 6 |
3 files changed, 3 insertions, 16 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy index ef4d61f..a622e62 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -3,14 +3,7 @@ Checks: > -*-else-after-return, - -bugprone-easily-swappable-parameters, - -bugprone-multi-level-implicit-pointer-conversion, -bugprone-suspicious-include, - -cert-err33-c, - -clang-diagnostic-unused-parameter, - -cppcoreguidelines-avoid-non-const-global-variables, - -llvmlibc-implementation-in-namespace, - -misc-unused-parameters, -modernize-use-trailing-return-type, -readability-function-cognitive-complexity, InheritParentConfig: true diff --git a/test/cpp/.clang-tidy b/test/cpp/.clang-tidy index 1fe1f27..b7981cc 100644 --- a/test/cpp/.clang-tidy +++ b/test/cpp/.clang-tidy @@ -2,10 +2,9 @@ # SPDX-License-Identifier: 0BSD OR ISC Checks: > - -*-avoid-c-arrays, - -*-deprecated-headers, -*-no-malloc, -*-use-auto, + -*-use-nullptr, -bugprone-reserved-identifier, -cert-dcl37-c, -cert-dcl50-cpp, @@ -17,10 +16,7 @@ Checks: > -cppcoreguidelines-pro-type-cstyle-cast, -cppcoreguidelines-pro-type-vararg, -hicpp-no-array-decay, - -hicpp-use-nullptr, -hicpp-vararg, - -llvmlibc-callee-namespace, - -modernize-use-nullptr, -modernize-use-using, -performance-enum-size, -readability-implicit-bool-conversion, diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy index bf971cc..60c4447 100644 --- a/test/headers/.clang-tidy +++ b/test/headers/.clang-tidy @@ -1,4 +1,4 @@ -# Copyright 2020-2024 David Robillard <d@drobilla.net> +# Copyright 2020-2025 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC Checks: > @@ -6,11 +6,9 @@ Checks: > -*-macro-to-enum, -*-magic-numbers, -altera-*, - -bugprone-assignment-in-if-condition, -bugprone-easily-swappable-parameters, -bugprone-macro-parentheses, - -llvmlibc-restrict-system-libc-headers, - -performance-no-int-to-ptr, + -llvmlibc-*, -readability-identifier-length, CheckOptions: - key: hicpp-uppercase-literal-suffix.NewSuffixes |