[cfe-commits] [patch] Make explicit specializations at class scope work for non-type template parameters in microsoft mode

João Matos ripzonetriton at gmail.com
Sun Jun 24 22:52:07 PDT 2012


Hi Nico,

Just tested the patch and it works as you say. Looks good to go.

On Sun, Jun 24, 2012 at 7:05 AM, Nico Weber <thakis at chromium.org> wrote:
> Hi,
>
> clang supports explicit specializations at class scope in microsoft
> mode (cf r137573). However, this doesn't work for non-type template
> parameters, because the template's TemplateArgumentListInfo is not
> retained. The attached patch fixes this by storing this information in
> ClassScopeFunctionSpecializationDecl until it's visited. Fixes
> PR12709.
>
> Nico
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



-- 
João Matos




More information about the cfe-commits mailing list