r179155 - Handle "typeof" in Objective-C format string checking. This previously crashed.

John McCall rjmccall at apple.com
Wed Apr 10 11:29:30 PDT 2013


On Apr 10, 2013, at 9:12 AM, Jordan Rose <jordan_rose at apple.com> wrote:
> Should this apply to C++11 decltype too?
> 
> (To anyone watching: we can't just get the canonical type because format string checking checks typedefs as well.)

Sure, but why did it *crash* before?  Is it going to crash on every new kind of sugar?

Also, I think you basically want to look through all kinds of type sugar except typedefs, right?  That's metaprogrammable.

John.



More information about the cfe-commits mailing list