Delete dead code.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 Oct 2015 21:16:01 +0000 (21:16 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 Oct 2015 21:16:01 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251749 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/Archive.h

index acf22b8f7e7b4bcd30883fd9141ec426d4e36079..987ade81a51e2e3bce7c6a826c34e10e5c89b343 100644 (file)
@@ -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;