aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-tidy
diff options
context:
space:
mode:
authorAurèle Oulès <aurele@oules.com>2022-07-26 14:47:56 +0200
committerAurèle Oulès <aurele@oules.com>2022-08-03 17:18:17 +0200
commitae7ae36d311a869b3bda41d29dc0e47fade77d28 (patch)
treef19d6cac69a6112fe824bccc97ac980c6903f55f /src/.clang-tidy
parent081b0e53e3adca7ea57d23e5fcd9db4b86415a72 (diff)
downloadbitcoin-ae7ae36d311a869b3bda41d29dc0e47fade77d28.tar.xz
tidy: Enable two clang-tidy checks
Checks enabled: 'performance-for-range-copy' and 'performance-unnecessary-copy-initialization'
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index b9371b147b..f59f80f8ce 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -4,6 +4,8 @@ bugprone-argument-comment,
misc-unused-using-decls,
modernize-use-default-member-init,
modernize-use-nullptr,
+performance-for-range-copy,
+performance-unnecessary-copy-initialization,
readability-redundant-declaration,
readability-redundant-string-init,
'
@@ -12,6 +14,8 @@ bugprone-argument-comment,
misc-unused-using-decls,
modernize-use-default-member-init,
modernize-use-nullptr,
+performance-for-range-copy,
+performance-unnecessary-copy-initialization,
readability-redundant-declaration,
readability-redundant-string-init,
'