[PATCH] D16928: [OpenCL] Apply missing restrictions for Blocks in OpenCL v2.0
Mats Petersson via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 16 05:46:14 PST 2016
MatsPetersson added a subscriber: MatsPetersson.
================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7700
@@ -7698,2 +7699,3 @@
+ "OpenCL does not allow variadic arguments">;
// OpenCL v2.0 s6.13.6 -- Builtin Pipe Functions
----------------
Looks good
================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7717
@@ +7716,3 @@
+def err_opencl_block_storage_type : Error<
+ "the __block storage type is not permitted">;
+def err_opencl_invalid_block_declaration : Error<
----------------
Looks good now (from my official account this time! :) )
http://reviews.llvm.org/D16928
More information about the cfe-commits
mailing list