[cfe-dev] Expr::isIntegerConstantExpr() gives bogus results with sizeof()

Chris Lattner clattner at apple.com
Tue Nov 27 10:22:21 PST 2007


>> sizeof, on the other hand, is determined in units of sizeof 
>> (char).  To be fully general, it shouldn't divide by 8, it should  
>> divide by TargetInfo.getCharSize().
>
> Should we go ahead and do this?

Done, thanks,

-Chris




More information about the cfe-dev mailing list