diff options
author | Anders Carlsson <andersca@mac.com> | 2009-06-12 22:23:22 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-06-12 22:23:22 +0000 |
commit | 6d845ae1baf77691bca080e0762a1d45ee017f70 (patch) | |
tree | 4e48298afb8733ecf31a320b8d6c23ea4d6013f7 /lib/Sema/SemaTemplate.cpp | |
parent | 16df850bb73e8e2a3dece830b59785ff167428bc (diff) |
Keep track of whether a type parameter is actually a type parameter pack.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | lib/Sema/SemaTemplate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index ec2907f65a..8058ad2d63 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp @@ -163,7 +163,8 @@ Sema::DeclPtrTy Sema::ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis, TemplateTypeParmDecl *Param = TemplateTypeParmDecl::Create(Context, CurContext, Loc, - Depth, Position, ParamName, Typename); + Depth, Position, ParamName, Typename, + Ellipsis); if (Invalid) Param->setInvalidDecl(); |