From: Rafael Espindola Date: Sat, 31 Oct 2015 21:16:01 +0000 (+0000) Subject: Delete dead code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05a69d8e6c6bf8068f0d4ebb4cf2fd5ccdbdab54;p=oota-llvm.git Delete dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251749 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Object/Archive.h b/include/llvm/Object/Archive.h index acf22b8f7e7..987ade81a51 100644 --- a/include/llvm/Object/Archive.h +++ b/include/llvm/Object/Archive.h @@ -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;