From 98f2f69f605d84a0e2ac47d5c31a500867a6fb0b Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 18 Sep 2024 16:14:55 +0200 Subject: [PATCH] [clang-tidy] deactivate bugprone-branch-clone check The check triggers on switch cases running the same function and, more importantly, on our macro CommandLineSwitchStart. Not usable for this project, deactivating the check. --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index d861b3354..10e5d2dfa 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -24,6 +24,7 @@ Checks: > -cppcoreguidelines-interfaces-global-init, -bugprone-easily-swappable-parameters, -bugprone-assignment-in-if-condition, + -bugprone-branch-clone, -bugprone-macro-parentheses, -cert-dcl16-c, -cert-env33-c,