diff options
-rw-r--r-- | src/.clang-tidy | 5 | ||||
-rw-r--r-- | test/.clang-tidy | 5 | ||||
-rw-r--r-- | test/headers/.clang-tidy | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy index 99d2651..ed1198d 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -1,7 +1,8 @@ -# Copyright 2020-2022 David Robillard <d@drobilla.net> +# Copyright 2020-2024 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC Checks: > + -*-macro-to-enum, -*-magic-numbers, -*-narrowing-conversions, -bugprone-easily-swappable-parameters, @@ -10,8 +11,8 @@ Checks: > -clang-analyzer-unix.Malloc, -hicpp-signed-bitwise, -misc-no-recursion, - -modernize-macro-to-enum, -performance-no-int-to-ptr, -readability-function-cognitive-complexity, -readability-identifier-length, + -readability-redundant-casting, InheritParentConfig: true diff --git a/test/.clang-tidy b/test/.clang-tidy index 2e1b811..a271110 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -1,11 +1,12 @@ -# Copyright 2020-2023 David Robillard <d@drobilla.net> +# Copyright 2020-2024 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC Checks: > + -*-macro-to-enum, -*-magic-numbers, + -bugprone-multi-level-implicit-pointer-conversion, -bugprone-suspicious-realloc-usage, -cert-err33-c, - -modernize-macro-to-enum, -performance-no-int-to-ptr, -readability-identifier-length, InheritParentConfig: true diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy index 8c0843e..bbcc1eb 100644 --- a/test/headers/.clang-tidy +++ b/test/headers/.clang-tidy @@ -1,11 +1,11 @@ -# Copyright 2020-2022 David Robillard <d@drobilla.net> +# Copyright 2020-2024 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC Checks: > *, + -*-macro-to-enum, -altera-*, -llvmlibc-*, - -modernize-macro-to-enum, -performance-no-int-to-ptr, -readability-identifier-length, WarningsAsErrors: '*' |