[lld] r297941 - [ELF] - Removed unused template #2. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 03:48:40 PDT 2017


Author: grimar
Date: Thu Mar 16 05:48:40 2017
New Revision: 297941

URL: http://llvm.org/viewvc/llvm-project?rev=297941&view=rev
Log:
[ELF] - Removed unused template #2. NFC.

Modified:
    lld/trunk/ELF/Relocations.cpp

Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=297941&r1=297940&r2=297941&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Thu Mar 16 05:48:40 2017
@@ -861,7 +861,6 @@ template <class ELFT> void scanRelocatio
 // in the Sections vector, and recalculate the InputSection output section
 // offsets.
 // This may invalidate any output section offsets stored outside of InputSection
-template <class ELFT>
 static void mergeThunks(OutputSection *OS,
                         std::vector<ThunkSection *> &Thunks) {
   // Order Thunks in ascending OutSecOff
@@ -983,7 +982,7 @@ bool createThunks(ArrayRef<OutputSection
 
   // Merge all created synthetic ThunkSections back into OutputSection
   for (auto &KV : ThunkSections)
-    mergeThunks<ELFT>(KV.first, KV.second);
+    mergeThunks(KV.first, KV.second);
   return !ThunkSections.empty();
 }
 




More information about the llvm-commits mailing list