[pr17973][patch] Use the default method CC in GetFullTypeForDeclarator

Richard Smith richard at metafoo.co.uk
Mon Nov 18 10:49:02 PST 2013


Instead of making this !FreeFunction-specific, can you compute the
appropriate calling convention and do the unwrap/rewrap thing if it's
different from the computed calling convention? I'd expect the same thing
can happen for varargs function templates on some ABIs.


On Mon, Nov 18, 2013 at 8:05 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> Currently explicit template instatiations of member function templates
> are failing with the microsoft abi an 32 bits. This happens because
> the expected and computed function types have different calling
> convention.
>
> This patch fixes it by considering the default calling convention for
> methods in GetFullTypeForDeclarator.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131118/cfeafb10/attachment.html>


More information about the cfe-commits mailing list