From 51b1a885690d7ab744e4dbac61a29771fb779d9a Mon Sep 17 00:00:00 2001 From: Thomas Padioleau Date: Fri, 3 Jan 2025 16:00:48 +0100 Subject: [PATCH] Improve formatting of .clang-tidy YAML file --- .clang-tidy | 122 ++++++++++++++++++++++++++-------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 2c1520356..af8c39a25 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -2,67 +2,67 @@ # # SPDX-License-Identifier: MIT --- -Checks: -'-*, -bugprone-*, --bugprone-easily-swappable-parameters, --bugprone-exception-escape, --bugprone-integer-division, --bugprone-narrowing-conversions, --bugprone-unchecked-optional-access, -cert-*, --cert-dcl21-cpp, --cert-err58-cpp, -cppcoreguidelines-*, --cppcoreguidelines-avoid-magic-numbers, --cppcoreguidelines-avoid-non-const-global-variables, --cppcoreguidelines-init-variables, --cppcoreguidelines-macro-usage, --cppcoreguidelines-misleading-capture-default-by-value, --cppcoreguidelines-missing-std-forward, --cppcoreguidelines-narrowing-conversions, --cppcoreguidelines-non-private-member-variables-in-classes, --cppcoreguidelines-owning-memory, --cppcoreguidelines-pro-bounds-constant-array-index, --cppcoreguidelines-pro-bounds-pointer-arithmetic, --cppcoreguidelines-pro-type-member-init, --cppcoreguidelines-pro-type-reinterpret-cast, -google-*, --google-readability-casting, --google-readability-todo, --google-runtime-int, -hicpp-*, --hicpp-explicit-conversions, --hicpp-member-init, --hicpp-named-parameter, --hicpp-special-member-functions, --hicpp-static-assert, --hicpp-use-auto, -misc-*, --misc-header-include-cycle, --misc-include-cleaner, --misc-non-private-member-variables-in-classes, --misc-redundant-expression, --misc-static-assert, --misc-unused-parameters, --misc-use-internal-linkage, -modernize-*, --modernize-pass-by-value, --modernize-use-auto, --modernize-use-nodiscard, --modernize-use-trailing-return-type, -performance-*, --performance-enum-size, --performance-unnecessary-value-param, -portability-*, -readability-*, --readability-function-cognitive-complexity, --readability-identifier-length, --readability-implicit-bool-conversion, --readability-magic-numbers, --readability-math-missing-parentheses, --readability-named-parameter, --readability-redundant-access-specifiers' +Checks: > + -*, + bugprone-*, + -bugprone-easily-swappable-parameters, + -bugprone-exception-escape, + -bugprone-integer-division, + -bugprone-narrowing-conversions, + -bugprone-unchecked-optional-access, + cert-*, + -cert-dcl21-cpp, + -cert-err58-cpp, + cppcoreguidelines-*, + -cppcoreguidelines-avoid-magic-numbers, + -cppcoreguidelines-avoid-non-const-global-variables, + -cppcoreguidelines-init-variables, + -cppcoreguidelines-macro-usage, + -cppcoreguidelines-misleading-capture-default-by-value, + -cppcoreguidelines-missing-std-forward, + -cppcoreguidelines-narrowing-conversions, + -cppcoreguidelines-non-private-member-variables-in-classes, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-constant-array-index, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-member-init, + -cppcoreguidelines-pro-type-reinterpret-cast, + google-*, + -google-readability-casting, + -google-readability-todo, + -google-runtime-int, + hicpp-*, + -hicpp-explicit-conversions, + -hicpp-member-init, + -hicpp-named-parameter, + -hicpp-special-member-functions, + -hicpp-static-assert, + -hicpp-use-auto, + misc-*, + -misc-header-include-cycle, + -misc-include-cleaner, + -misc-non-private-member-variables-in-classes, + -misc-redundant-expression, + -misc-static-assert, + -misc-unused-parameters, + -misc-use-internal-linkage, + modernize-*, + -modernize-pass-by-value, + -modernize-use-auto, + -modernize-use-nodiscard, + -modernize-use-trailing-return-type, + performance-*, + -performance-enum-size, + -performance-unnecessary-value-param, + portability-*, + readability-*, + -readability-function-cognitive-complexity, + -readability-identifier-length, + -readability-implicit-bool-conversion, + -readability-magic-numbers, + -readability-math-missing-parentheses, + -readability-named-parameter, + -readability-redundant-access-specifiers WarningsAsErrors: '*' CheckOptions: cppcoreguidelines-rvalue-reference-param-not-moved.AllowPartialMove: 'true'