diff options
author | David Robillard <d@drobilla.net> | 2023-05-02 13:57:26 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-02 13:57:26 -0400 |
commit | 0487f12874e471cc2c6c7fdc7e9c5d205e511df3 (patch) | |
tree | bae470552c9836d53560828abc2438efb09be62e /test/.clang-tidy | |
parent | c69530dfbdea2b067f45be216f3039aa4d180d07 (diff) | |
download | raul-0487f12874e471cc2c6c7fdc7e9c5d205e511df3.tar.gz raul-0487f12874e471cc2c6c7fdc7e9c5d205e511df3.tar.bz2 raul-0487f12874e471cc2c6c7fdc7e9c5d205e511df3.zip |
Simplify clang-tidy configuration
This gets close to being clean when run via meson, except for a bug where
clang-diagnostic-unused-macros triggers on include guards.
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r-- | test/.clang-tidy | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy index de70aa1..0004d61 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -1,41 +1,14 @@ -# Copyright 2020-2022 David Robillard <d@drobilla.net> +# Copyright 2020-2023 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR GPL-3.0-or-later Checks: > - *, - -*-avoid-c-arrays, - -*-magic-numbers, -*-vararg, - -abseil-string-find-str-contains, - -altera-*, - -android-cloexec-accept, - -bugprone-easily-swappable-parameters, -bugprone-exception-escape, -cert-err33-c, -cppcoreguidelines-avoid-non-const-global-variables, - -cppcoreguidelines-no-malloc, - -cppcoreguidelines-owning-memory, - -cppcoreguidelines-pro-bounds-array-to-pointer-decay, - -cppcoreguidelines-pro-bounds-pointer-arithmetic, - -cppcoreguidelines-pro-type-const-cast, - -cppcoreguidelines-pro-type-reinterpret-cast, - -fuchsia-default-arguments*, - -fuchsia-overloaded-operator, -google-runtime-int, -google-runtime-references, - -hicpp-no-array-decay, - -hicpp-no-malloc, -hicpp-signed-bitwise, - -llvmlibc-*, -modernize-make-unique, - -modernize-use-trailing-return-type, -readability-function-cognitive-complexity, - -readability-identifier-length, - -readability-implicit-bool-conversion, -CheckOptions: - - key: modernize-use-override.AllowOverrideAndFinal - value: 'true' - - key: cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal - value: 'true' -HeaderFilterRegex: '.*' -FormatStyle: file +InheritParentConfig: true |