[PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt

Jordan Rose via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 09:36:52 PST 2015


jordan_rose accepted this revision.
jordan_rose added a comment.
This revision is now accepted and ready to land.

Let's just go with your simple version that makes the common case better. There are a lot of problems with `throw`, so I wouldn't worry about that right now.

(By the way, we don't remove unreachable blocks because we want to be able to diagnose unreachable code.)


http://reviews.llvm.org/D13973





More information about the cfe-commits mailing list