aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-tidy
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-27 15:25:51 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-27 15:25:51 +0000
commit9567bfeab95cc0932073641dd162903850987d43 (patch)
treeab3f4c137eec2ce5eb794a6b16a9da221f2e8216 /src/.clang-tidy
parente9262ea32a6e1d364fb7974844fadc36f931f8c6 (diff)
clang-tidy: Add `performance-no-automatic-move` check
https://clang.llvm.org/extra/clang-tidy/checks/performance/no-automatic-move.html
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 9d78ccc959..bea5b53668 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -7,6 +7,7 @@ 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,
@@ -19,6 +20,7 @@ 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,