[cfe-dev] Get the number of bits of a bit field with libclang?
doob at me.com
Wed May 23 00:09:14 PDT 2012
On 2012-05-22 21:51, Argyrios Kyrtzidis wrote:
>> Would two functions be a good idea, one for signed and one for unsigned
>> values? Just like "clang_getEnumConstantDeclValue" and
> No, negative values are not allowed for bitfield width.
Right. I was thinking that the field could be either signed or unsigned
but that has nothing to do with the width of the bit field.
More information about the cfe-dev