[PATCH] Perform calculation of array size in chars instead of bits to prevent an assertion.

John McCall rjmccall at apple.com
Sun May 26 17:50:43 PDT 2013


On May 13, 2013, at 9:06 PM, Richard Smith <richard at metafoo.co.uk> wrote:
>  This looks good as far as it goes. However, anyone who calls the non-InChars version of getTypeInfo etc is still in danger. That includes many of the recursive calls in getTypeInfoImpl, for things like ParenType, DecltypeType, ElaboratedType, ...

I agree that the primary interface should be the InChars one, and maybe we should only support the bits variants for integral types.

John.



More information about the cfe-commits mailing list