I'm still not sold on undefbehavior.DeadReferenced. Except for the `delete`, none of these are actually trying to use the old object...they're using the //new// object. (In some cases incorrectly, but still.) Using the old object would involve just calling the destructor, or keeping a pointer to a field within the object, or similar.
http://reviews.llvm.org/D3457 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
