[clang] [clang] Add explicit std::move(...) to avoid a few copies (PR #180482)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 9 00:24:56 PST 2026


================
@@ -404,7 +404,7 @@ void RecursiveCloneTypeIIHashConstraint::constrain(
     }
   }
   // Sequences is the output parameter, so we copy our result into it.
----------------
tbaederr wrote:

```suggestion
  // Sequences is the output parameter, so we move our result into it.
```
? :)

https://github.com/llvm/llvm-project/pull/180482


More information about the cfe-commits mailing list