[llvm] r248451 - Remove iterator_range::end.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 17:23:07 PDT 2015
Author: ruiu
Date: Wed Sep 23 19:23:07 2015
New Revision: 248451
URL: http://llvm.org/viewvc/llvm-project?rev=248451&view=rev
Log:
Remove iterator_range::end.
Because the current proposal does not include that member function,
and we are trying to keep in line with that.
Modified:
llvm/trunk/include/llvm/ADT/iterator_range.h
Modified: llvm/trunk/include/llvm/ADT/iterator_range.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/iterator_range.h?rev=248451&r1=248450&r2=248451&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/iterator_range.h (original)
+++ llvm/trunk/include/llvm/ADT/iterator_range.h Wed Sep 23 19:23:07 2015
@@ -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.
More information about the llvm-commits
mailing list