[PATCH] D20268: Resolution-based LTO API.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 16 15:47:35 PDT 2016


mehdi_amini added inline comments.

================
Comment at: lib/LTO/LTO.cpp:323
@@ +322,3 @@
+  if (auto E = runRegularLto(AddStream))
+    return std::move(E);
+  return runThinLto(AddStream);
----------------
No std::move on return.

================
Comment at: tools/llvm-lto2/llvm-lto2.cpp:164
@@ +163,3 @@
+    check(EC, Path);
+    return std::move(S);
+  };
----------------
Ditto 


https://reviews.llvm.org/D20268





More information about the llvm-commits mailing list