From faad673716cfbad1e715f1bdf8ac00938a055aea Mon Sep 17 00:00:00 2001 From: MacroFake Date: Fri, 19 Aug 2022 11:38:56 +0200 Subject: Fix issues when calling std::move(const&) --- src/.clang-tidy | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/.clang-tidy') 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 -- cgit v1.2.3