From fe261bc256abb3e470a0e33a4b7569307e973db5 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Thu, 25 Mar 2010 12:15:38 +0100 Subject: Parse C++ 0x argument packs. --- src/shared/cplusplus/CheckExpression.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/shared/cplusplus/CheckExpression.cpp') diff --git a/src/shared/cplusplus/CheckExpression.cpp b/src/shared/cplusplus/CheckExpression.cpp index 42f1d85a71..17ac2ebfe9 100644 --- a/src/shared/cplusplus/CheckExpression.cpp +++ b/src/shared/cplusplus/CheckExpression.cpp @@ -404,3 +404,10 @@ bool CheckExpression::visit(LambdaExpressionAST *ast) return false; } +bool CheckExpression::visit(BracedInitializerAST *ast) +{ + for (ExpressionListAST *it = ast->expression_list; it; it = it->next) + (void) semantic()->check(it->value, _scope); + + return false; +} -- cgit v1.2.1