[llvm] r251749 - Delete dead code.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 31 14:16:01 PDT 2015


Author: rafael
Date: Sat Oct 31 16:16:01 2015
New Revision: 251749

URL: http://llvm.org/viewvc/llvm-project?rev=251749&view=rev
Log:
Delete dead code.

Modified:
    llvm/trunk/include/llvm/Object/Archive.h

Modified: llvm/trunk/include/llvm/Object/Archive.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/Archive.h?rev=251749&r1=251748&r2=251749&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/Archive.h (original)
+++ llvm/trunk/include/llvm/Object/Archive.h Sat Oct 31 16:16:01 2015
@@ -72,10 +72,6 @@ public:
       return Data.begin() == other.Data.begin();
     }
 
-    bool operator <(const Child &other) const {
-      return Data.begin() < other.Data.begin();
-    }
-
     const Archive *getParent() const { return Parent; }
     Child getNext() const;
 
@@ -123,10 +119,6 @@ public:
       return !(*this == other);
     }
 
-    bool operator<(const child_iterator &other) const {
-      return child < other.child;
-    }
-
     child_iterator &operator++() { // Preincrement
       child = child.getNext();
       return *this;




More information about the llvm-commits mailing list