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

George Russell grrussel at googlemail.com
Fri Nov 26 14:24:33 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.

Regards,
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/20101126/14925f5f/attachment.obj>


More information about the cfe-commits mailing list