Skip to content

Commit 26a7f70

Browse files
committed
ci: enable self-assignment clang-tidy check
1 parent 32b1d13 commit 26a7f70

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/.clang-tidy

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ bugprone-move-forwarding-reference,
66
bugprone-string-constructor,
77
bugprone-use-after-move,
88
bugprone-lambda-function-name,
9+
bugprone-unhandled-self-assignment,
910
misc-unused-using-decls,
1011
misc-no-recursion,
1112
modernize-use-default-member-init,
@@ -23,8 +24,10 @@ readability-const-return-type,
2324
readability-redundant-declaration,
2425
readability-redundant-string-init,
2526
'
27+
HeaderFilterRegex: '.'
2628
WarningsAsErrors: '*'
2729
CheckOptions:
2830
- key: performance-move-const-arg.CheckTriviallyCopyableMove
2931
value: false
30-
HeaderFilterRegex: '.'
32+
- key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
33+
value: false

0 commit comments

Comments
 (0)