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

Attachment: opencl_storage_spec.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to