Skip to content

Commit 787b5ad

Browse files
committed
revert filter_iterator_impl::operator++ changes
1 parent 5b341c8 commit 787b5ad

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

llvm/include/llvm/ADT/STLExtras.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -535,17 +535,6 @@ class filter_iterator_impl<WrappedIteratorT, PredicateT,
535535
PredicateT Pred)
536536
: BaseT(Begin, End, Pred) {}
537537

538-
filter_iterator_impl &operator++() {
539-
BaseT::operator++();
540-
return *this;
541-
}
542-
543-
filter_iterator_impl &operator++(int) {
544-
filter_iterator_impl &old = *this;
545-
BaseT::operator++();
546-
return old;
547-
}
548-
549538
filter_iterator_impl &operator--() {
550539
BaseT::operator--();
551540
findPrevValid();

0 commit comments

Comments
 (0)