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 | 98318c2259bc05711fec9479062752a7b30f660c (patch) | |
| tree | 9f88ac9f1ceedfd567a496ff964d2333c026e6ec /clang/lib/Sema/SemaTemplate.cpp | |
| parent | 875b6fe364372e9021012fb32eccc49e39c7b0fb (diff) | |
| download | bcm5719-llvm-98318c2259bc05711fec9479062752a7b30f660c.tar.gz bcm5719-llvm-98318c2259bc05711fec9479062752a7b30f660c.zip | |
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.
llvm-svn: 122776
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp index c3cfbb8c258..1835899e80b 100644 --- a/clang/lib/Sema/SemaTemplate.cpp +++ b/clang/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(); |

