[lld] r256181 - Delete dead typedefs.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 11:10:27 PST 2015
Author: rafael
Date: Mon Dec 21 13:10:27 2015
New Revision: 256181
URL: http://llvm.org/viewvc/llvm-project?rev=256181&view=rev
Log:
Delete dead typedefs.
Modified:
lld/trunk/ELF/Writer.cpp
Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=256181&r1=256180&r2=256181&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Mon Dec 21 13:10:27 2015
@@ -327,9 +327,6 @@ void Writer<ELFT>::scanRelocs(InputSecti
template <class ELFT>
static void reportUndefined(const SymbolTable<ELFT> &S, const SymbolBody &Sym) {
- typedef typename ELFFile<ELFT>::Elf_Sym Elf_Sym;
- typedef typename ELFFile<ELFT>::Elf_Sym_Range Elf_Sym_Range;
-
if (Config->Shared && !Config->NoUndefined)
return;
More information about the llvm-commits
mailing list