[PATCH] D17527: Handle bitcode files in archive files with --whole-archive.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 05:37:44 PST 2016

rafael added inline comments.

Comment at: ELF/InputFiles.cpp:459
@@ -458,3 +458,1 @@
 template <typename T>
-static std::unique_ptr<InputFile> createELFFileAux(MemoryBufferRef MB) {
-  std::unique_ptr<T> Ret = llvm::make_unique<T>(MB);
I would prefer to keep this as std::unique_ptr and use std::move on the caller.


More information about the llvm-commits mailing list