[llvm] r264414 - [SetVector] Add erase() method
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 25 09:32:44 PDT 2016
On Fri, Mar 25, 2016 at 9:04 AM, Jun Bum Lim via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: junbuml
> Date: Fri Mar 25 11:04:43 2016
> New Revision: 264414
>
> URL: http://llvm.org/viewvc/llvm-project?rev=264414&view=rev
> Log:
> [SetVector] Add erase() method
>
> Summary:
> Add erase() which returns an iterator pointing to the next element after the
> erased one. This makes it possible to erase selected elements while iterating
> over the SetVector :
> while (I != E)
> if (test(*I))
> I = SetVector.erase(I);
> else
> ++I;
>
> Reviewers: qcolombet, mcrosier, MatzeB, dblaikie
>
> Subscribers: dberlin, dblaikie, mcrosier, llvm-commits
>
> Differential Revision: http://reviews.llvm.org/D18281
Looks like this broke the build:
http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/34708/steps/build_llvm/logs/stdio
More information about the llvm-commits
mailing list