[PATCH] Fix declaring class template methods with an attributed typedef

Reid Kleckner rnk at google.com
Wed Jul 31 11:58:33 PDT 2013


On Tue, Jul 30, 2013 at 5:45 PM, Richard Smith <richard at metafoo.co.uk>wrote:

>
>   I see, we can be sure that there are parameters to instantiate, even if
> the function was declared through a typedef, because we must have seen that
> we were declaring a function in the template definition and will have
> created parameters for the function there.
>

Right, the original FunctionDecl will always have ParmVarDecls that we can
instantiate, even if they were synthesized from a typedef.

Thanks for the review!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130731/e07a9146/attachment.html>


More information about the cfe-commits mailing list