[llvm] 85a68c3 - Revert "[ADT] fix filter_iterator_impl::operator++"
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 14:40:46 PDT 2023
Please include details/reason for revert in a revert commit message.
On Fri, Jul 7, 2023 at 7:04 AM Alex Brachet via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
>
> Author: Alex Brachet
> Date: 2023-07-07T14:03:58Z
> New Revision: 85a68c3c58b8a81827ba80e149ad80d1910e7c8f
>
> URL:
> https://github.com/llvm/llvm-project/commit/85a68c3c58b8a81827ba80e149ad80d1910e7c8f
> DIFF:
> https://github.com/llvm/llvm-project/commit/85a68c3c58b8a81827ba80e149ad80d1910e7c8f.diff
>
> LOG: Revert "[ADT] fix filter_iterator_impl::operator++"
>
> This reverts commit 5a67fa2b17c4db64ef00fbe672a4b59d26039828.
>
> 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 cff30d4483d1d7..7edc582636c772 100644
> --- a/llvm/include/llvm/ADT/STLExtras.h
> +++ b/llvm/include/llvm/ADT/STLExtras.h
> @@ -535,11 +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--() {
> BaseT::operator--();
> findPrevValid();
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/76eaf8ae/attachment.html>
More information about the llvm-commits
mailing list