summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprClassification.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-15 01:15:58 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-15 01:15:58 +0000
commitcdbc539aee07f17850213ca7a98a6c7a1f863ba7 (patch)
tree125d95929c9122cbb91c1d444f2fe6857440cdb3 /clang/lib/AST/ExprClassification.cpp
parentcc385c0c9742f8b8e6767ef1910bef0da4c73203 (diff)
downloadbcm5719-llvm-cdbc539aee07f17850213ca7a98a6c7a1f863ba7.tar.gz
bcm5719-llvm-cdbc539aee07f17850213ca7a98a6c7a1f863ba7.zip
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
Diffstat (limited to 'clang/lib/AST/ExprClassification.cpp')
-rw-r--r--clang/lib/AST/ExprClassification.cpp1
1 files changed, 1 insertions, 0 deletions
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.
OpenPOWER on IntegriCloud