From: Rui Ueyama Date: Thu, 24 Sep 2015 00:23:07 +0000 (+0000) Subject: Remove iterator_range::end. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e81b32f4f5c36f4d07d960ea9734b08ceba912a0;p=oota-llvm.git Remove iterator_range::end. Because the current proposal does not include that member function, and we are trying to keep in line with that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248451 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/iterator_range.h b/include/llvm/ADT/iterator_range.h index 6a83a0cbbbc..3dd679bd9b7 100644 --- a/include/llvm/ADT/iterator_range.h +++ b/include/llvm/ADT/iterator_range.h @@ -45,7 +45,6 @@ public: IteratorT begin() const { return begin_iterator; } IteratorT end() const { return end_iterator; } - bool empty() const { return begin_iterator == end_iterator; } }; /// \brief Convenience function for iterating over sub-ranges.