<div dir="ltr">Please include details/reason for revert in a revert commit message.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 7, 2023 at 7:04 AM Alex Brachet via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Author: Alex Brachet<br>
Date: 2023-07-07T14:03:58Z<br>
New Revision: 85a68c3c58b8a81827ba80e149ad80d1910e7c8f<br>
<br>
URL: <a href="https://github.com/llvm/llvm-project/commit/85a68c3c58b8a81827ba80e149ad80d1910e7c8f" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/85a68c3c58b8a81827ba80e149ad80d1910e7c8f</a><br>
DIFF: <a href="https://github.com/llvm/llvm-project/commit/85a68c3c58b8a81827ba80e149ad80d1910e7c8f.diff" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/85a68c3c58b8a81827ba80e149ad80d1910e7c8f.diff</a><br>
<br>
LOG: Revert "[ADT] fix filter_iterator_impl::operator++"<br>
<br>
This reverts commit 5a67fa2b17c4db64ef00fbe672a4b59d26039828.<br>
<br>
Added: <br>
<br>
<br>
Modified: <br>
llvm/include/llvm/ADT/STLExtras.h<br>
<br>
Removed: <br>
<br>
<br>
<br>
################################################################################<br>
diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h<br>
index cff30d4483d1d7..7edc582636c772 100644<br>
--- a/llvm/include/llvm/ADT/STLExtras.h<br>
+++ b/llvm/include/llvm/ADT/STLExtras.h<br>
@@ -535,11 +535,6 @@ class filter_iterator_impl<WrappedIteratorT, PredicateT,<br>
PredicateT Pred)<br>
: BaseT(Begin, End, Pred) {}<br>
<br>
- filter_iterator_impl &operator++() {<br>
- BaseT::operator++();<br>
- return *this;<br>
- }<br>
-<br>
filter_iterator_impl &operator--() {<br>
BaseT::operator--();<br>
findPrevValid();<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>