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

Paul Fox fox at emphotonics.com
Wed Jun 25 13:19:07 PDT 2014


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Expose-OpenCL-attributes-in-AST.patch
Type: text/x-patch
Size: 2793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140625/100e3d60/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-additional-OpenCL-attributes-to-Python-binding.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140625/100e3d60/attachment-0001.bin>


More information about the cfe-dev mailing list