[cfe-commits] [PATCH] Preserve FunctionType::ExtInfo across template instantiation

John McCall rjmccall at apple.com
Sat Jul 24 20:45:54 PDT 2010

On Jul 24, 2010, at 5:06 PM, Eli Friedman wrote:

> On Sat, Jul 24, 2010 at 4:55 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> Patch attached.  Fixes Sema handling of constructs like
>> "template<typename T> void p(T (__attribute__((fastcall)) *f)(void));"
>> Does this look like the right thing to do?
> Erm, that version has some extra junk; right version attached.

Well, it means we go down slightly different code paths in template instantiation
than we do when building up the type, but I'm okay with that in this instance;  I don't
think we want to fake up attributes to apply.


More information about the cfe-commits mailing list