[llvm] 787b5ad - revert filter_iterator_impl::operator++ changes
Alex Brachet via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 09:25:07 PDT 2023
Author: Alex Brachet
Date: 2023-07-07T16:24:51Z
New Revision: 787b5ad7894bfd853a426cb48f9f047b9aba6a14
URL: https://github.com/llvm/llvm-project/commit/787b5ad7894bfd853a426cb48f9f047b9aba6a14
DIFF: https://github.com/llvm/llvm-project/commit/787b5ad7894bfd853a426cb48f9f047b9aba6a14.diff
LOG: revert filter_iterator_impl::operator++ changes
Added:
Modified:
llvm/include/llvm/ADT/STLExtras.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h
index dcf3e160804715..7edc582636c772 100644
--- a/llvm/include/llvm/ADT/STLExtras.h
+++ b/llvm/include/llvm/ADT/STLExtras.h
@@ -535,17 +535,6 @@ class filter_iterator_impl<WrappedIteratorT, PredicateT,
PredicateT Pred)
: BaseT(Begin, End, Pred) {}
- filter_iterator_impl &operator++() {
- BaseT::operator++();
- return *this;
- }
-
- filter_iterator_impl &operator++(int) {
- filter_iterator_impl &old = *this;
- BaseT::operator++();
- return old;
- }
-
filter_iterator_impl &operator--() {
BaseT::operator--();
findPrevValid();
More information about the llvm-commits
mailing list