[PATCH] D25036: [CUDA] Disallow exceptions in device code.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 28 12:46:27 PDT 2016


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

One question, LGTM otherwise.


================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:688
@@ +687,3 @@
+  if (getLangOpts().CUDA)
+    CheckCUDAExceptionExpr(OpLoc, "throw");
+
----------------
Do you need/want to check returned result?


https://reviews.llvm.org/D25036





More information about the cfe-commits mailing list