[PATCH] D16047: [OpenCL] Add Sema checks for OpenCL 2.0

Xiuli PAN via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 11 01:02:42 PST 2016


pxli168 created this revision.
pxli168 added reviewers: Anastasia, pekka.jaaskelainen.
pxli168 added subscribers: bader, cfe-commits.

Add Sema checks for opencl 2.0 new features: Block, pipe, atomic etc. Also fix some old Sema check like pointer to image.
This patch is based on bader's patch in SPIRV-1.0 branch. 

http://reviews.llvm.org/D16047

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaInit.cpp
  lib/Sema/SemaType.cpp
  test/CodeGenOpenCL/opencl_types.cl
  test/SemaOpenCL/invalid-block.cl
  test/SemaOpenCL/invalid-decl.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16047.44436.patch
Type: text/x-patch
Size: 16238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160111/9809f230/attachment-0001.bin>


More information about the cfe-commits mailing list