From 05a69d8e6c6bf8068f0d4ebb4cf2fd5ccdbdab54 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 31 Oct 2015 21:16:01 +0000 Subject: [PATCH] Delete dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251749 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/Archive.h | 8 -------- 1 file changed, 8 deletions(-) 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; -- 2.34.1