From fa9250af40a6f0c196c3f45163f96ecd26f33bdb Mon Sep 17 00:00:00 2001 From: firewave Date: Thu, 10 Aug 2023 11:47:05 +0200 Subject: [PATCH] .clang-tidy: use multi-line syntax for `Checks` --- .clang-tidy | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index ad644244..acef1af6 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,5 +1,55 @@ --- -Checks: '*,-abseil-*,-altera-*,-android-*,-cert-*,-cppcoreguidelines-*,-fuchsia-*,-google-*,-hicpp-*,-linuxkernel-*,-llvm-*,-llvmlibc-*,-mpi-*,-objc-*,-openmp-*,-zircon-*,-misc-non-private-member-variables-in-classes,-modernize-avoid-c-arrays,-modernize-use-default-member-init,-modernize-use-using,-readability-braces-around-statements,-readability-function-size,-readability-implicit-bool-conversion,-readability-isolate-declaration,-readability-magic-numbers,-readability-simplify-boolean-expr,-readability-uppercase-literal-suffix,-modernize-use-auto,-modernize-use-trailing-return-type,-bugprone-branch-clone,-modernize-pass-by-value,-modernize-loop-convert,-modernize-use-emplace,-modernize-use-equals-default,-performance-noexcept-move-constructor,-modernize-use-equals-delete,-readability-identifier-length,-readability-function-cognitive-complexity,-modernize-return-braced-init-list,-misc-no-recursion,-bugprone-easily-swappable-parameters,-bugprone-narrowing-conversions,-concurrency-mt-unsafe,-modernize-loop-convert,-clang-analyzer-*,-performance-move-constructor-init,-performance-inefficient-string-concatenation,-performance-no-automatic-move,-modernize-use-override,-misc-use-anonymous-namespace,-modernize-use-nodiscard' +Checks: > + *, + -abseil-*, + -altera-*, + -android-*, + -cert-*, + -clang-analyzer-*, + -cppcoreguidelines-*, + -fuchsia-*, + -google-*, + -hicpp-*, + -linuxkernel-*, + -llvm-*, + -llvmlibc-*, + -mpi-*, + -objc-*, + -openmp-*, + -zircon-*, + -bugprone-branch-clone, + -bugprone-easily-swappable-parameters, + -bugprone-narrowing-conversions, + -concurrency-mt-unsafe, + -misc-no-recursion, + -misc-non-private-member-variables-in-classes, + -misc-use-anonymous-namespace, + -modernize-avoid-c-arrays, + -modernize-loop-convert, + -modernize-pass-by-value, + -modernize-return-braced-init-list, + -modernize-use-auto, + -modernize-use-emplace, + -modernize-use-equals-default, + -modernize-use-equals-delete, + -modernize-use-default-member-init, + -modernize-use-nodiscard, + -modernize-use-override, + -modernize-use-trailing-return-type, + -modernize-use-using, + -readability-braces-around-statements, + -readability-function-cognitive-complexity, + -readability-function-size, + -readability-implicit-bool-conversion, + -readability-identifier-length, + -readability-isolate-declaration, + -readability-magic-numbers, + -readability-simplify-boolean-expr, + -readability-uppercase-literal-suffix, + -performance-inefficient-string-concatenation, + -performance-move-constructor-init, + -performance-no-automatic-move, + -performance-noexcept-move-constructor HeaderFilterRegex: '.*' WarningsAsErrors: '*' CheckOptions: