[PATCH] RFC: fail-fast iterators for DenseMap

Rui Ueyama ruiu at google.com
Thu Feb 26 22:40:03 PST 2015


Is it possible to catch an error caused by an expression like m[x] = m[y]? Generally, the last statement v in auto &v = m[x]; m[newkey] = somevalue; v; is invalid because it uses an invalid reference.


http://reviews.llvm.org/D7931

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list