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

Nico Weber thakis at chromium.org
Mon Jun 25 10:23:08 PDT 2012


On Mon, Jun 25, 2012 at 9:16 AM, Douglas Gregor <dgregor at apple.com> wrote:
>
> On Jun 23, 2012, at 11:05 PM, Nico Weber 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.
>
> This looks good. Could you update the RecursiveASTVisitor to properly visit these template arguments when you commit this?

Thanks, r159147.

>
>        - Doug




More information about the cfe-commits mailing list