Leporacanthicus added a subscriber: Leporacanthicus.

================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7684
@@ +7683,3 @@
+  "the __block storage type is not permitted">;
+
+def err_opencl_variadic_prototype_not_allowed : Error<
----------------
Is this blank line there for a reason, as there seem to be none above... 

================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7704
@@ +7703,3 @@
+def err_opencl_invalid_block_declaration : Error<
+  "invalid block variable declaration - must be %select{const 
qualified|initialised}0">;
+def err_opencl_extern_block_declaration : Error<
----------------
US spelling is initialized - which I believe is standard for Clang?

================
Comment at: test/SemaOpenCL/invalid-blocks-cl20.cl:5
@@ +4,3 @@
+
+// All blocks declarations must be const qualified and initialised.
+void f1() {
----------------
US spelling will need to be fixed here too, if fixed above.


Repository:
  rL LLVM

http://reviews.llvm.org/D16928



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

Reply via email to