On Nov 6, 2012, at 4:41 PM, Jyun-Yan You <[email protected]> wrote:

> On Mon, Oct 22, 2012 at 1:15 PM, Jyun-Yan You <[email protected]> wrote:
>> On Mon, Oct 22, 2012 at 1:12 PM, Jyun-Yan You <[email protected]> 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?

The patch looks good, but can you please add a test? For example, update 
c-index-test to print out the bit width, and update one of the tests in 
test/Index.

        - Doug

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

Reply via email to