[PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt
Jordan Rose via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 2 09:40:13 PST 2015
jordan_rose added a subscriber: dcoughlin.
jordan_rose added a comment.
Hm. On the one hand, getting this right seems like a nice property, and even adding another loop wouldn't change the order of growth. On the other hand, not having the extra destructors seems like the same sort of property as not having unreachable statements, and if you //do// have unreachable statements then also having unreachable destructors seems reasonably consistent.
Devin, what would you think?
http://reviews.llvm.org/D13973
More information about the cfe-commits
mailing list