[PATCH] Don't modify the DenseMap being iterated over from within the loop
Chandler Carruth
chandlerc at google.com
Thu Feb 26 17:37:47 PST 2015
On Thu, Feb 26, 2015 at 5:03 PM, Sanjoy Das <sanjoy at playingwithpointers.com>
wrote:
> Hi reames, artagnon,
>
> Inserting elements into a `DenseMap` invalidated iterators pointing into
> the `DenseMap` instance.
>
This is obvious, please commit.
If you have a test case that happens to tickle this, always nice to add.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150226/b55c07c3/attachment.html>
More information about the llvm-commits
mailing list