From d06f9a519d56e6be39b90955efb3bd6717cbca40 Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Thu, 28 Sep 2023 02:06:46 +0200 Subject: [PATCH] updated clang-tidy --- .clang-tidy | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index a32631f..a311c94 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,18 +1,28 @@ --- Checks: ' + bugprone-branch-clone, + bugprone-reserved-identifier, + bugprone-use-after-move, clang-diagnostic-*, clang-analyzer-*, - bugprone-use-after-move, cppcoreguidelines-*, google-explicit-constructor, + google-global-names-in-headers, + google-readability-casting, + google-runtime-int, llvm-header-guard, + llvm-include-order, llvm-namespace-comment, - misc-header-include-cycle, - misc-include-cleaner, - misc-unused-using-decls, - misc-use-anonymous-namespace, - modernize-*,-modernize-use-nodiscard,-modernize-use-trailing-return-type, - readability-*,-readability-identifier-length, + misc-*, + -misc-no-recursion, + modernize-*, + -modernize-use-nodiscard, + -modernize-use-trailing-return-type, + performance-*, + readability-*, + -readability-identifier-length, ' + +WarningsAsErrors: '*' ...