[PATCH] D17343: [OpenCL] Diagnose program scope pointers

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 17 11:45:42 PST 2016


Anastasia created this revision.
Anastasia added reviewers: pekka.jaaskelainen, yaxunl.
Anastasia added a subscriber: cfe-commits.

Programs scope pointers should point to objects in constant AS or for OpenCL 2.0 in global AS.

http://reviews.llvm.org/D17343

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDecl.cpp
  test/CodeGenOpenCL/address-spaces.cl
  test/SemaOpenCL/storageclass-cl20.cl
  test/SemaOpenCL/storageclass.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17343.48224.patch
Type: text/x-patch
Size: 6524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160217/d03fc08b/attachment-0001.bin>


More information about the cfe-commits mailing list