[clang-tools-extra] [clang-tidy] Add check performance-lost-std-move (PR #139525)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 1 07:49:22 PDT 2025
================
@@ -0,0 +1,32 @@
+.. title:: clang-tidy - performance-lost-std-move
+
+performance-lost-std-move
+=========================
+
+Warns if copy constructor is used instead of std::move() and suggests a fix.
----------------
EugeneZelenko wrote:
```suggestion
Warns if copy constructor is used instead of ``std::move()`` and suggests a fix.
```
https://github.com/llvm/llvm-project/pull/139525
More information about the cfe-commits
mailing list