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

Eli Friedman eli.friedman at gmail.com
Fri Jul 11 16:48:39 PDT 2008


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.)

-Eli



More information about the cfe-commits mailing list