[cfe-commits] [patch] Make explicit specializations at class scope work for non-type template parameters in microsoft mode
Douglas Gregor
dgregor at apple.com
Mon Jun 25 09:16:14 PDT 2012
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?
- Doug
More information about the cfe-commits
mailing list