[cfe-commits] [Patch] Add a function to libclang for retrieving the bit width value

Jyun-Yan You jyyou.tw at gmail.com
Sun Oct 21 22:15:22 PDT 2012

On Mon, Oct 22, 2012 at 1:12 PM, Jyun-Yan You <jyyou.tw at gmail.com> wrote:
> Hi
> I use libclang to translate C headers into rust language,
> however, libclang does not provide any function to get the bit width
> of a field declaration.
> In order to translate headers correctly, I write
> clang_getFieldDeclBitWidth function to retrieve the value.
> Could it be merged into trunk?

Sorry, I forgot to attach to patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitfield.patch
Type: application/octet-stream
Size: 1727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121022/9f827a9e/attachment.obj>

More information about the cfe-commits mailing list