[PATCH] D28860: [OpenCL] Diagnose write_only image3d when extension is disabled

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 24 05:38:32 PST 2017


svenvh updated this revision to Diff 85575.
svenvh edited the summary of this revision.
svenvh added a comment.

Removed the custom sema check and added the extension to the image type in OpenCLImageTypes.def.


https://reviews.llvm.org/D28860

Files:
  include/clang/Basic/OpenCLImageTypes.def
  lib/Headers/opencl-c.h
  test/Headers/opencl-c-header.cl
  test/SemaOpenCL/access-qualifier.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28860.85575.patch
Type: text/x-patch
Size: 10901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170124/e0443144/attachment.bin>


More information about the cfe-commits mailing list