[cfe-dev] Type source info for function template instances.

John McCall rjmccall at apple.com
Tue Mar 9 20:06:23 PST 2010


On Mar 7, 2010, at 11:29 AM, Enea Zaffanella wrote:
> <Subst-Function-TInfo-3.patch>

Sorry for the delay in reviewing.

By-and-large this looks good.  You shouldn't need to enter a local instantiation scope at every conceivable call site, though;  it should be sufficient to do it within your new TransformFunctionProtoType (outside the parameter-transformation loop, of course), which, among other advantages, follows the usual scope rules more precisely.

John.



More information about the cfe-dev mailing list