aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-tidy
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-08-19 11:38:56 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-20 09:32:53 +0200
commitfaad673716cfbad1e715f1bdf8ac00938a055aea (patch)
treefe1134e201b198a4ae2ee1483e0ac13b6a4ccbfa /src/.clang-tidy
parentc73c8d53fe27956faacb3e8ca0e94adf071de6ec (diff)
downloadbitcoin-faad673716cfbad1e715f1bdf8ac00938a055aea.tar.xz
Fix issues when calling std::move(const&)
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index f59f80f8ce..18f9035f07 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -5,6 +5,7 @@ misc-unused-using-decls,
modernize-use-default-member-init,
modernize-use-nullptr,
performance-for-range-copy,
+performance-move-const-arg,
performance-unnecessary-copy-initialization,
readability-redundant-declaration,
readability-redundant-string-init,
@@ -15,7 +16,11 @@ misc-unused-using-decls,
modernize-use-default-member-init,
modernize-use-nullptr,
performance-for-range-copy,
+performance-move-const-arg,
performance-unnecessary-copy-initialization,
readability-redundant-declaration,
readability-redundant-string-init,
'
+CheckOptions:
+ - key: performance-move-const-arg.CheckTriviallyCopyableMove
+ value: false