[PATCH] D20985: [CUDA] Add implicit conversion of __launch_bounds__ arguments to rvalue.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 3 16:55:14 PDT 2016


jlebar added inline comments.

================
Comment at: lib/Sema/SemaDeclAttr.cpp:4079
@@ +4078,3 @@
+  if (ValArg.isInvalid())
+    return nullptr;
+
----------------
OK, so then we want an assert, not an if?


http://reviews.llvm.org/D20985





More information about the cfe-commits mailing list