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

Nico Weber thakis at chromium.org
Sat Jun 23 23:05:51 PDT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-pr12709.patch
Type: application/octet-stream
Size: 6549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120623/99c5f4a4/attachment.obj>


More information about the cfe-commits mailing list