From e0a9d73bbeb49f25f908d73d435c4aa1d4de978c Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Wed, 29 Nov 2023 18:59:09 +0100 Subject: [PATCH] updated .clang-tidy config file somwhat of an 'reset', added more checks, will remove some again as time passed --- .clang-tidy | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index a311c94..e7df1db 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,27 +1,23 @@ --- Checks: ' - bugprone-branch-clone, - bugprone-reserved-identifier, - bugprone-use-after-move, - clang-diagnostic-*, + bugprone-*, clang-analyzer-*, + clang-diagnostic-*, cppcoreguidelines-*, - google-explicit-constructor, - google-global-names-in-headers, - google-readability-casting, - google-runtime-int, - llvm-header-guard, - llvm-include-order, - llvm-namespace-comment, + google-*, + llvm-*, misc-*, - -misc-no-recursion, modernize-*, - -modernize-use-nodiscard, - -modernize-use-trailing-return-type, performance-*, readability-*, + + -misc-no-recursion, + -modernize-use-nodiscard, + -modernize-use-trailing-return-type, + + -readability-else-after-return, -readability-identifier-length, - ' +' WarningsAsErrors: '*' ...