================
@@ -1252,8 +1252,8 @@ class FallthroughMapper : public 
DynamicRecursiveASTVisitor {
         continue;
 
       const Stmt *Term = P->getTerminatorStmt();
-      if (isa_and_nonnull<SwitchStmt>(Term))
-        continue; // Switch statement, good.
+      if (isa_and_nonnull<SwitchStmt, CXXTryStmt>(Term))
----------------
AaronBallman wrote:

This kind of worries me, what about `__try` or `@try`? I'm not super familiar 
with the CFG builder, but why is `try` showing up as a terminator to begin with?

CC @ymand 

https://github.com/llvm/llvm-project/pull/183194
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to