Details
Details
- Reviewers
mkuper
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It looks like this is on purpose:
https://reviews.llvm.org/rL68047
"getEntryFor() may invalidate DenseMap iterator.
Walking an invalidated iterator is not a good idea."
I think this is still true, but we should probably add a comment.
Comment Actions
It'd be nice if the getEntryFor API provided a way for the caller to know if an insertion happened (i.e. using an API like insert()).