diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-15 01:15:58 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-15 01:15:58 +0000 |
commit | c7793c73ba8a343de3f2552d984851985a46f159 (patch) | |
tree | 6028fb693f32a9f51ccb6d59e84a75817cdceac1 /lib/AST/ExprClassification.cpp | |
parent | 2be29f423acad3bbe39099a78db2805acb5bdf17 (diff) |
Introduce a new expression kind, SubstNonTypeTemplateParmPackExpr,
that captures the substitution of a non-type template argument pack
for a non-type template parameter pack within a pack expansion that
cannot be fully expanded. This follows the approach taken by
SubstTemplateTypeParmPackType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprClassification.cpp')
-rw-r--r-- | lib/AST/ExprClassification.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/ExprClassification.cpp b/lib/AST/ExprClassification.cpp index a9ebe6fdb3..c9f4fa8daa 100644 --- a/lib/AST/ExprClassification.cpp +++ b/lib/AST/ExprClassification.cpp @@ -152,6 +152,7 @@ static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E) { case Expr::ParenListExprClass: case Expr::InitListExprClass: case Expr::SizeOfPackExprClass: + case Expr::SubstNonTypeTemplateParmPackExprClass: return Cl::CL_PRValue; // Next come the complicated cases. |