[lld] r315265 - Remove dead function.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 20:01:41 PDT 2017


Author: ruiu
Date: Mon Oct  9 20:01:41 2017
New Revision: 315265

URL: http://llvm.org/viewvc/llvm-project?rev=315265&view=rev
Log:
Remove dead function.

Modified:
    lld/trunk/ELF/InputSection.h

Modified: lld/trunk/ELF/InputSection.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.h?rev=315265&r1=315264&r2=315265&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.h (original)
+++ lld/trunk/ELF/InputSection.h Mon Oct  9 20:01:41 2017
@@ -168,10 +168,6 @@ public:
 
   template <class ELFT> ObjFile<ELFT> *getFile() const;
 
-  template <class ELFT> llvm::object::ELFFile<ELFT> getObj() const {
-    return getFile<ELFT>()->getObj();
-  }
-
   InputSection *getLinkOrderDep() const;
 
   void maybeUncompress();




More information about the llvm-commits mailing list