[PATCH] D47564: [Parse] Use CapturedStmt for @finally on MSVC
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 31 17:00:07 PDT 2018
rjmccall added a comment.
That's an interesting idea. I don't see any particular reason not to do it this way if you're willing to accept that it's never going to support the full control-flow possibilities of @finally. You will need to add JumpDiagnostics logic to prevent branches out of the block, and I don't know how this will interact with attempts to throw an exception out.
Repository:
rC Clang
https://reviews.llvm.org/D47564
More information about the cfe-commits
mailing list