[cfe-commits] [PATCH] OpenCL 1.2 storage class specifiers and errors

Tanya Lattner lattner at apple.com
Wed Jun 13 13:08:56 PDT 2012


Attached is a patch that enabled storage class specifiers static and extern to be allowed except static can't be used for kernel functions and variables in the local scope. This is new as of OpenCL 1.2.

I've included a test case.

Please review.

-Tanya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: staticVarError.patch
Type: application/octet-stream
Size: 2741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120613/47a80918/attachment.obj>


More information about the cfe-commits mailing list