From cdbc539aee07f17850213ca7a98a6c7a1f863ba7 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 15 Jan 2011 01:15:58 +0000 Subject: 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. llvm-svn: 123506 --- clang/lib/AST/ExprClassification.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/AST/ExprClassification.cpp') diff --git a/clang/lib/AST/ExprClassification.cpp b/clang/lib/AST/ExprClassification.cpp index a9ebe6fdb3c..c9f4fa8daa2 100644 --- a/clang/lib/AST/ExprClassification.cpp +++ b/clang/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. -- cgit v1.2.3