summaryrefslogtreecommitdiff
path: root/tests/tools
diff options
context:
space:
mode:
authorChristian Kamm <kamm@incasoftware.de>2012-09-18 09:50:23 +0200
committerhjk <qthjk@ovi.com>2012-09-19 11:54:50 +0200
commit9bd86e7d683964d879eef0d98d25809aac102ed9 (patch)
tree3671007fbf4d6f83d355f39b93576dc415f306c6 /tests/tools
parentecd54059d3a0a18fd5e18c48b2c69761324d22c5 (diff)
downloadqt-creator-9bd86e7d683964d879eef0d98d25809aac102ed9.tar.gz
C++11: Allow brace-init-list in range-for statement.
Also drop the unused 'initializer' member from RangeBasedForStatementAST. Change-Id: I078ebbc85cafa643af4bfe62d698bf7de71360e4 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests/tools')
-rw-r--r--tests/tools/cplusplus-dump/dumpers.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/tools/cplusplus-dump/dumpers.inc b/tests/tools/cplusplus-dump/dumpers.inc
index 5271759515..bcb4ae335e 100644
--- a/tests/tools/cplusplus-dump/dumpers.inc
+++ b/tests/tools/cplusplus-dump/dumpers.inc
@@ -662,7 +662,6 @@ virtual bool visit(RangeBasedForStatementAST *ast)
for (SpecifierListAST *iter = ast->type_specifier_list; iter; iter = iter->next)
nonterminal(iter->value);
nonterminal(ast->declarator);
- nonterminal(ast->initializer);
if (ast->colon_token)
terminal(ast->colon_token, ast);
nonterminal(ast->expression);