[PATCH] Don't modify the DenseMap being iterated over from within the loop

Sanjoy Das sanjoy at playingwithpointers.com
Thu Feb 26 17:45:30 PST 2015


> If you have a test case that happens to tickle this, always nice to add.

No, unfortunately.  I am playing around with making the DenseMap and
DenseSet iterators "fail-fast" (coming soon, watch this space!) and
this one popped out.

-- Sanjoy



More information about the llvm-commits mailing list