summaryrefslogtreecommitdiff
path: root/include/clang/Sema/Template.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-05-03 23:51:38 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-05-03 23:51:38 +0000
commit6cc60c9164a96f1d73ccfd302303490e0d085b87 (patch)
treef2639ec1876eaba545ef3845d3572424ae9cc621 /include/clang/Sema/Template.h
parentdb45e9b8b840d510c5c5bc1bf7476e70312c59dd (diff)
downloadclang-6cc60c9164a96f1d73ccfd302303490e0d085b87.tar.gz
CWG issue 727: Fix numerous bugs in support for class-scope explicit
specializations for variable templates. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Template.h')
-rw-r--r--include/clang/Sema/Template.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Sema/Template.h b/include/clang/Sema/Template.h
index 61de93449e..98f7dd584b 100644
--- a/include/clang/Sema/Template.h
+++ b/include/clang/Sema/Template.h
@@ -545,7 +545,8 @@ class VarDecl;
Decl *VisitVarTemplateSpecializationDecl(
VarTemplateDecl *VarTemplate, VarDecl *FromVar, void *InsertPos,
const TemplateArgumentListInfo &TemplateArgsInfo,
- ArrayRef<TemplateArgument> Converted);
+ ArrayRef<TemplateArgument> Converted,
+ VarTemplateSpecializationDecl *PrevDecl = nullptr);
Decl *InstantiateTypedefNameDecl(TypedefNameDecl *D, bool IsTypeAlias);
ClassTemplatePartialSpecializationDecl *