[cfe-dev] patch to fix Expr::isIntegerConstantExpr() for sizeof
Nuno Lopes
nunoplopes at sapo.pt
Mon Dec 17 14:03:14 PST 2007
>> Hi,
>>
>> Attached is a patch to fix Expr::isIntegerConstantExpr() for a
>> simple "sizeof(int)". This problem is the same as the one I sent
>> before, but it seems clang has 2 ways to represent the sizeof
>> operator (as a unary operator and as a sizeof operator) and thus the
>> code/bug is duplicated.
>>
>> Regards,
>> Nuno
>
> Thanks. Applied! (the only change I made was that I wrapped a couple
> lines at 80 columns).
Thanks! (I need to get an editor that shows the 80-column mark..)
Nuno
More information about the cfe-dev
mailing list