Remove iterator_range::end.
authorRui Ueyama <ruiu@google.com>
Thu, 24 Sep 2015 00:23:07 +0000 (00:23 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 24 Sep 2015 00:23:07 +0000 (00:23 +0000)
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

include/llvm/ADT/iterator_range.h

index 6a83a0cbbbc5170428eaf2d325c75f2c9d3db037..3dd679bd9b79ee87a71bf543361b66eb3db9031f 100644 (file)
@@ -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.