[lld] r248866 - Make template instantiation code a bit shorter. NFC.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 17:43:22 PDT 2015


Author: ruiu
Date: Tue Sep 29 19:43:22 2015
New Revision: 248866

URL: http://llvm.org/viewvc/llvm-project?rev=248866&view=rev
Log:
Make template instantiation code a bit shorter. 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=248866&r1=248865&r2=248866&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Tue Sep 29 19:43:22 2015
@@ -552,31 +552,27 @@ template class SymbolTableSection<ELF64L
 template class SymbolTableSection<ELF64BE>;
 
 template ELFFile<ELF32LE>::uintX_t
-getSymVA(const ELFSymbolBody<ELF32LE> &S, const OutputSection<ELF32LE> &BssSec);
+getSymVA(const ELFSymbolBody<ELF32LE> &, const OutputSection<ELF32LE> &);
 
 template ELFFile<ELF32BE>::uintX_t
-getSymVA(const ELFSymbolBody<ELF32BE> &S, const OutputSection<ELF32BE> &BssSec);
+getSymVA(const ELFSymbolBody<ELF32BE> &, const OutputSection<ELF32BE> &);
 
 template ELFFile<ELF64LE>::uintX_t
-getSymVA(const ELFSymbolBody<ELF64LE> &S, const OutputSection<ELF64LE> &BssSec);
+getSymVA(const ELFSymbolBody<ELF64LE> &, const OutputSection<ELF64LE> &);
 
 template ELFFile<ELF64BE>::uintX_t
-getSymVA(const ELFSymbolBody<ELF64BE> &S, const OutputSection<ELF64BE> &BssSec);
+getSymVA(const ELFSymbolBody<ELF64BE> &, const OutputSection<ELF64BE> &);
 
 template ELFFile<ELF32LE>::uintX_t
-getLocalSymVA(const ELFFile<ELF32LE>::Elf_Sym *Sym,
-              const ObjectFile<ELF32LE> &File);
+getLocalSymVA(const ELFFile<ELF32LE>::Elf_Sym *, const ObjectFile<ELF32LE> &);
 
 template ELFFile<ELF32BE>::uintX_t
-getLocalSymVA(const ELFFile<ELF32BE>::Elf_Sym *Sym,
-              const ObjectFile<ELF32BE> &File);
+getLocalSymVA(const ELFFile<ELF32BE>::Elf_Sym *, const ObjectFile<ELF32BE> &);
 
 template ELFFile<ELF64LE>::uintX_t
-getLocalSymVA(const ELFFile<ELF64LE>::Elf_Sym *Sym,
-              const ObjectFile<ELF64LE> &File);
+getLocalSymVA(const ELFFile<ELF64LE>::Elf_Sym *, const ObjectFile<ELF64LE> &);
 
 template ELFFile<ELF64BE>::uintX_t
-getLocalSymVA(const ELFFile<ELF64BE>::Elf_Sym *Sym,
-              const ObjectFile<ELF64BE> &File);
+getLocalSymVA(const ELFFile<ELF64BE>::Elf_Sym *, const ObjectFile<ELF64BE> &);
 }
 }




More information about the llvm-commits mailing list