[cfe-dev] patch to fix Expr::isIntegerConstantExpr() for sizeof
Ted Kremenek
kremenek at apple.com
Mon Dec 17 09:40:09 PST 2007
On Dec 16, 2007, at 7:48 AM, Nuno Lopes wrote:
> 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).
More information about the cfe-dev
mailing list