aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index bea5b53668..b2c1b49588 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -9,22 +9,12 @@ performance-for-range-copy,
performance-move-const-arg,
performance-no-automatic-move,
performance-unnecessary-copy-initialization,
+readability-const-return-type,
readability-redundant-declaration,
readability-redundant-string-init,
'
-WarningsAsErrors: '
-bugprone-argument-comment,
-bugprone-use-after-move,
-misc-unused-using-decls,
-modernize-use-default-member-init,
-modernize-use-nullptr,
-performance-for-range-copy,
-performance-move-const-arg,
-performance-no-automatic-move,
-performance-unnecessary-copy-initialization,
-readability-redundant-declaration,
-readability-redundant-string-init,
-'
+WarningsAsErrors: '*'
CheckOptions:
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: false
+HeaderFilterRegex: '.'