[cfe-commits] r53468 - /cfe/trunk/lib/AST/ExprConstant.cpp

Chris Lattner sabre at nondot.org
Fri Jul 11 16:55:22 PDT 2008


On Jul 11, 2008, at 4:48 PM, Eli Friedman wrote:

> On Fri, Jul 11, 2008 at 12:24 PM, Chris Lattner <sabre at nondot.org>  
> wrote:
>> +  unsigned getIntTypeSizeInBits(QualType T) const {
>> +    return (unsigned)Ctx.getTypeSize(T);
>> +  }
>
> I think this should be using ASTContext::getIntWidth().  (I just added
> that method relatively recently, so not very much is using it yet.)

Nice catch, will do.

-Chris



More information about the cfe-commits mailing list