[PATCH] D82313: [OpenCL] Reject block arguments

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 25 01:57:01 PDT 2020


svenvh updated this revision to Diff 273253.
svenvh added a comment.

Add test case with a block as a parameter of another block.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82313/new/

https://reviews.llvm.org/D82313

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaType.cpp
  clang/test/CodeGenOpenCL/blocks.cl
  clang/test/Frontend/opencl.cl
  clang/test/SemaOpenCL/invalid-block.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82313.273253.patch
Type: text/x-patch
Size: 5675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200625/a6d61c7d/attachment-0001.bin>


More information about the cfe-commits mailing list