diff options
author | Anders Carlsson <andersca@mac.com> | 2009-06-16 00:30:48 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-06-16 00:30:48 +0000 |
commit | 76e4ce42a30cee4dc40ce7c6014874fbc4f9baa7 (patch) | |
tree | ee6740164b52b0c1683e7cd20f73746c5098d384 /lib/AST/DeclTemplate.cpp | |
parent | cb83c530ee82c0107720129473fa78336b6f4879 (diff) |
Keep track of whether a type parameter type is a parameter pack.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclTemplate.cpp')
-rw-r--r-- | lib/AST/DeclTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclTemplate.cpp b/lib/AST/DeclTemplate.cpp index ea8dd0d3c0..23c2637875 100644 --- a/lib/AST/DeclTemplate.cpp +++ b/lib/AST/DeclTemplate.cpp @@ -190,7 +190,7 @@ TemplateTypeParmDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, unsigned D, unsigned P, IdentifierInfo *Id, bool Typename, bool ParameterPack) { - QualType Type = C.getTemplateTypeParmType(D, P, Id); + QualType Type = C.getTemplateTypeParmType(D, P, ParameterPack, Id); return new (C) TemplateTypeParmDecl(DC, L, Id, Typename, Type, ParameterPack); } |