[lld] r306772 - Remove unused declarations

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 17:34:35 PDT 2017


Author: sbc
Date: Thu Jun 29 17:34:35 2017
New Revision: 306772

URL: http://llvm.org/viewvc/llvm-project?rev=306772&view=rev
Log:
Remove unused declarations

Differential Revision: https://reviews.llvm.org/D34852

Modified:
    lld/trunk/COFF/Driver.h
    lld/trunk/COFF/Writer.cpp
    lld/trunk/ELF/SymbolTable.h

Modified: lld/trunk/COFF/Driver.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.h?rev=306772&r1=306771&r2=306772&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.h (original)
+++ lld/trunk/COFF/Driver.h Thu Jun 29 17:34:35 2017
@@ -34,7 +34,6 @@ extern LinkerDriver *Driver;
 using llvm::COFF::MachineTypes;
 using llvm::COFF::WindowsSubsystem;
 using llvm::Optional;
-class InputFile;
 
 // Implemented in MarkLive.cpp.
 void markLive(const std::vector<Chunk *> &Chunks);

Modified: lld/trunk/COFF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Writer.cpp?rev=306772&r1=306771&r2=306772&view=diff
==============================================================================
--- lld/trunk/COFF/Writer.cpp (original)
+++ lld/trunk/COFF/Writer.cpp Thu Jun 29 17:34:35 2017
@@ -120,7 +120,6 @@ private:
   void writeSections();
   void sortExceptionTable();
   void writeBuildId();
-  void applyRelocations();
 
   llvm::Optional<coff_symbol16> createSymbol(Defined *D);
   size_t addEntryToStringTable(StringRef Str);

Modified: lld/trunk/ELF/SymbolTable.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.h?rev=306772&r1=306771&r2=306772&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.h (original)
+++ lld/trunk/ELF/SymbolTable.h Thu Jun 29 17:34:35 2017
@@ -18,7 +18,7 @@
 
 namespace lld {
 namespace elf {
-class Lazy;
+
 struct Symbol;
 
 // SymbolTable is a bucket of all known symbols, including defined,




More information about the llvm-commits mailing list