[PATCH] RFC: fail-fast iterators for DenseMap
Daniel Berlin
dberlin at dberlin.org
Mon Mar 2 19:21:09 PST 2015
On Tue, Mar 3, 2015 at 12:53 PM, Sanjoy Das <sanjoy at playingwithpointers.com>
wrote:
> I'm about to revert this because it broke clang.
>
> The reason it broke clang is that clang assumes a default constructed
> DenseMapIterator is comparable with another default constructed
> DenseMapIterator.
Where does this happen?
I'd really like to see an actual example of how this makes sense to do
i have no idea whether it's generally considered "normal" to do this, but
i'm actually really curious to see a case where it is the right thing to do
:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150303/5b26e6cc/attachment.html>
More information about the llvm-commits
mailing list