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

Jyun-Yan You jyyou.tw at gmail.com
Tue Nov 6 16:41:12 PST 2012


On Mon, Oct 22, 2012 at 1:15 PM, Jyun-Yan You <jyyou.tw at gmail.com> wrote:
> 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.

Can someone review and merge this patch?



More information about the cfe-commits mailing list