[lld] r257214 - Remove an empty constructor.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 14:06:25 PST 2016


Author: ruiu
Date: Fri Jan  8 16:06:25 2016
New Revision: 257214

URL: http://llvm.org/viewvc/llvm-project?rev=257214&view=rev
Log:
Remove an empty constructor.

We used to have code in SymbolTable constructor to add entry symbols, etc.
That code has been moved to Driver. We can remove the constructor.

Modified:
    lld/trunk/ELF/SymbolTable.cpp
    lld/trunk/ELF/SymbolTable.h

Modified: lld/trunk/ELF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.cpp?rev=257214&r1=257213&r2=257214&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.cpp (original)
+++ lld/trunk/ELF/SymbolTable.cpp Fri Jan  8 16:06:25 2016
@@ -27,8 +27,6 @@ using namespace llvm::ELF;
 using namespace lld;
 using namespace lld::elf2;
 
-template <class ELFT> SymbolTable<ELFT>::SymbolTable() {}
-
 // All input object files must be for the same architecture
 // (e.g. it does not make sense to link x86 object files with
 // MIPS object files.) This function checks for that error.

Modified: lld/trunk/ELF/SymbolTable.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.h?rev=257214&r1=257213&r2=257214&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.h (original)
+++ lld/trunk/ELF/SymbolTable.h Fri Jan  8 16:06:25 2016
@@ -35,8 +35,6 @@ template <class ELFT> class SymbolTable
   typedef typename llvm::object::ELFFile<ELFT>::uintX_t uintX_t;
 
 public:
-  SymbolTable();
-
   void addFile(std::unique_ptr<InputFile> File);
 
   const llvm::MapVector<StringRef, Symbol *> &getSymbols() const {




More information about the llvm-commits mailing list