[PATCH] D37090: Implement CFG construction for __finally.

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 24 10:04:09 PDT 2017


rnk added a comment.

Re: jumps out of __try, I wonder if you can tie __finally into whatever the CFG does for C++ destructors.



================
Comment at: test/Sema/warn-unreachable-ms.c:49
     __try {
-      f();
+      throw 1;
     } __except (1) {
----------------
Nice. Would any noreteurn call work here to eliminate the re-run and ifdef?


https://reviews.llvm.org/D37090





More information about the cfe-commits mailing list