[lld] r250736 - Replace auto with a real type. NFC.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 13:55:29 PDT 2015
Author: ruiu
Date: Mon Oct 19 15:55:28 2015
New Revision: 250736
URL: http://llvm.org/viewvc/llvm-project?rev=250736&view=rev
Log:
Replace auto with a real type. NFC.
Modified:
lld/trunk/ELF/Driver.cpp
Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=250736&r1=250735&r2=250736&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Mon Oct 19 15:55:28 2015
@@ -228,8 +228,8 @@ template <class ELFT> void LinkerDriver:
for (std::unique_ptr<InputFile> &F : Files)
Symtab.addFile(std::move(F));
- for (auto &U : Config->Undefined)
- Symtab.addUndefinedOpt(U);
+ for (StringRef S : Config->Undefined)
+ Symtab.addUndefinedOpt(S);
if (Config->OutputFile.empty())
Config->OutputFile = "a.out";
More information about the llvm-commits
mailing list