projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d25f78f
)
Remove iterator_range::end.
author
Rui Ueyama
<ruiu@google.com>
Thu, 24 Sep 2015 00:23:07 +0000
(
00:23
+0000)
committer
Rui 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
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/iterator_range.h
b/include/llvm/ADT/iterator_range.h
index 6a83a0cbbbc5170428eaf2d325c75f2c9d3db037..3dd679bd9b79ee87a71bf543361b66eb3db9031f 100644
(file)
--- 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.