Skip to content

Commit

Permalink
ci: enable self-assignment clang-tidy check
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Jun 5, 2024
1 parent 027907d commit 466e757
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ bugprone-move-forwarding-reference,
bugprone-string-constructor,
bugprone-use-after-move,
bugprone-lambda-function-name,
bugprone-unhandled-self-assignment,
misc-unused-using-decls,
misc-no-recursion,
modernize-use-default-member-init,
Expand All @@ -23,8 +24,10 @@ readability-const-return-type,
readability-redundant-declaration,
readability-redundant-string-init,
'
HeaderFilterRegex: '.'
WarningsAsErrors: '*'
CheckOptions:
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: false
HeaderFilterRegex: '.'
- key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
value: false

0 comments on commit 466e757

Please sign in to comment.