Anastasia added inline comments.

================
Comment at: test/Frontend/opencl-blocks.cl:11
@@ +10,3 @@
+#if __OPENCL_C_VERSION__ < CL_VERSION_2_0 && !defined(BLOCKS)
+  // expected-error@-2{{blocks support disabled - compile with -fblocks or 
pick a deployment target that supports them}}
+#else
----------------
This is not part of this change, but I was just wondering whether it would make 
sense to update the message to refer to OpenCL version that allows blocks 
(similarly to other cases).
We might need to create different diagnostic or use select option?


http://reviews.llvm.org/D20444



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to