diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-03 21:37:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-03 21:37:45 +0000 |
commit | 7a21fd45d4f04643cbfb5df96a01f84bc6d3dd14 (patch) | |
tree | d762ecc339711bceb432d81219247f98284c6e19 /lib/Sema/SemaTemplate.cpp | |
parent | bacb9493770ff19cfd8f7bc46a075f14b4d08159 (diff) |
Properly rebuild pack expansions whose pattern is a non-type template
argument. As part of this, be more careful when determining if there
are any parameter packs that cannot be expanded.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | lib/Sema/SemaTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index c3cfbb8c25..1835899e80 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp @@ -3937,7 +3937,7 @@ static bool CheckNonTypeClassTemplatePartialSpecializationArgs(Sema &S, continue; } - // We can have a pack expansion of any of the above. + // We can have a pack expansion of any of the bullets below. if (PackExpansionExpr *Expansion = dyn_cast<PackExpansionExpr>(ArgExpr)) ArgExpr = Expansion->getPattern(); |