[llvm] [perf] Replace copy-assign by move-assign in llvm/lib/MC/* (PR #178176)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 08:26:49 PST 2026


================
@@ -212,7 +212,7 @@ struct FieldInfo {
 StructFieldInfo::StructFieldInfo(std::vector<StructInitializer> V,
                                  StructInfo S) {
----------------
serge-sans-paille wrote:

(I'm currently experimenting with designing a clang-tidy pass that detects missing `std::move`, this patch set is a (hopefully nice) side effect of that work)

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


More information about the llvm-commits mailing list