Skip to content

Commit 35e4ba0

Browse files
authored
style(clang-tidy): Disable bugprone-branch-clone check (#1734)
Refs #1654 The check is reporting mostly false positives. It is creating more noise than value. Signed-off-by: Balakrishna Avulapati <ba@bavulapati.com>
1 parent a9de30f commit 35e4ba0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

cmake/common/targets/clang-tidy.config

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
---
22
# See https://clang.llvm.org/extra/clang-tidy/index.html
33
# First disable all default checks (with -*)
4-
Checks: '-*,bugprone-*,clang-analyzer-*,clang-diagnostic-*,modernize-*,concurrency-*,cppcoreguidelines-*,performance-*,portability-*,objc-*,misc-*,-misc-no-recursion,-bugprone-easily-swappable-parameters'
4+
Checks: '-*,
5+
bugprone-*,-bugprone-branch-clone,-bugprone-easily-swappable-parameters,
6+
clang-analyzer-*,
7+
clang-diagnostic-*,
8+
modernize-*,
9+
concurrency-*,
10+
cppcoreguidelines-*,
11+
performance-*,
12+
portability-*,
13+
objc-*,
14+
misc-*,-misc-no-recursion'
515
WarningsAsErrors: '*'
616
HeaderFilterRegex: ''
717
FormatStyle: none

0 commit comments

Comments
 (0)