[cfe-dev] [PATCH/RFC] Expose OpenCL Attributes in libclang

Aaron Ballman aaron at aaronballman.com
Fri Jun 27 09:05:22 PDT 2014


LGTM, but this demonstrates the need for this to be automated more. At
some point, I think this should be automatically generated from
Attr.td instead of requiring manual intervention.

~Aaron

On Wed, Jun 25, 2014 at 4:19 PM, Paul Fox <fox at emphotonics.com> wrote:
> Here are initial patches that expose the inheritable attributes for OpenCL
> in libclang, including the python bindings.
>
> As far as I can tell, since the address space attributes are type
> attributes, exposing them will require adding to the libclang API (which
> does not appear to have any generalized way to query type attributes at the
> moment). Any suggestions for this?
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list