[llvm] r248451 - Remove iterator_range::end.

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 17:43:52 PDT 2015


Thanks!

~Aaron
On Sep 23, 2015 8:24 PM, "Rui Ueyama via llvm-commits" <
llvm-commits at lists.llvm.org> wrote:

> Author: ruiu
> Date: Wed Sep 23 19:23:07 2015
> New Revision: 248451
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248451&view=rev
> Log:
> Remove iterator_range::end.
>
> Because the current proposal does not include that member function,
> and we are trying to keep in line with that.
>
> Modified:
>     llvm/trunk/include/llvm/ADT/iterator_range.h
>
> Modified: llvm/trunk/include/llvm/ADT/iterator_range.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/iterator_range.h?rev=248451&r1=248450&r2=248451&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/ADT/iterator_range.h (original)
> +++ llvm/trunk/include/llvm/ADT/iterator_range.h Wed Sep 23 19:23:07 2015
> @@ -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.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://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/20150923/fb7d4126/attachment.html>


More information about the llvm-commits mailing list