[lld] r191272 - Expand auto to improve code readability.
Rui Ueyama
ruiu at google.com
Mon Sep 23 20:44:19 PDT 2013
Author: ruiu
Date: Mon Sep 23 22:44:19 2013
New Revision: 191272
URL: http://llvm.org/viewvc/llvm-project?rev=191272&view=rev
Log:
Expand auto to improve code readability.
Modified:
lld/trunk/lib/Driver/WinLinkDriver.cpp
Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=191272&r1=191271&r2=191272&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Mon Sep 23 22:44:19 2013
@@ -505,7 +505,7 @@ bool WinLinkDriver::parse(int argc, cons
// Add the libraries specified by /defaultlib unless they are blacklisted by
// /nodefaultlib.
if (!ctx.getNoDefaultLibAll())
- for (auto defaultLibPath : defaultLibs)
+ for (const StringRef defaultLibPath : defaultLibs)
if (ctx.getNoDefaultLibs().find(defaultLibPath) ==
ctx.getNoDefaultLibs().end())
inputGraph.addInputElement(std::unique_ptr<InputElement>(
More information about the llvm-commits
mailing list