[cfe-commits] [PATCH] Rejecting forbidden storage class specifiers in OpenCL

George Russell grrussel at googlemail.com
Mon Nov 29 14:15:26 PST 2010


The OpenCL specification states that the storage class specifiers
"extern","auto","static", and "register" are prohibited (in section
6.8.g, Restrictions).

This patch adds diagnostics for each of these, when the OpenCL
language is selected, and a test case.


George Russell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opencl_storage_spec.diff
Type: application/octet-stream
Size: 3216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101129/473cff16/attachment.obj>

More information about the cfe-commits mailing list