[lld] r254175 - Replaced stuff with auto. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 11:58:51 PST 2015


Author: grimar
Date: Thu Nov 26 13:58:51 2015
New Revision: 254175

URL: http://llvm.org/viewvc/llvm-project?rev=254175&view=rev
Log:
Replaced stuff with auto. NFC.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=254175&r1=254174&r2=254175&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Thu Nov 26 13:58:51 2015
@@ -150,7 +150,7 @@ template <class ELFT> void PltSection<EL
     Target->writePltZeroEntry(Buf, Out<ELFT>::GotPlt->getVA(), this->getVA());
     Off += Target->getPltZeroEntrySize();
   }
-  for (std::pair<const SymbolBody *, unsigned> &I : Entries) {
+  for (auto &I : Entries) {
     const SymbolBody *E = I.first;
     unsigned RelOff = I.second;
     uint64_t GotVA =




More information about the llvm-commits mailing list