================
Comment at: lib/CodeGen/CGException.cpp:1363-1364
@@ +1362,4 @@
+    ConstStmtVisitor<CaptureFinder>::Visit(S);
+    for (Stmt::const_child_range CI = S->children(); CI; ++CI)
+      Visit(*CI);
+  }
----------------
Range-based for?

================
Comment at: lib/CodeGen/CGException.cpp:1409-1412
@@ +1408,6 @@
+    }
+    if (VD->getType()->isVariablyModifiedType()) {
+      CGM.ErrorUnsupported(VD, "VLA captured by SEH");
+      continue;
+    }
+
----------------
Why is this forbidden? Can't we just capture the address of the VLA?

http://reviews.llvm.org/D8825

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to