aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 61adce1d50..3569dd04b1 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -6,10 +6,12 @@ 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,
modernize-use-emplace,
+modernize-use-equals-default,
modernize-use-noexcept,
modernize-use-nullptr,
performance-*,
@@ -23,8 +25,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