forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -1025,7 +1025,6 @@ bool FindUsages::visit(RangeBasedForStatementAST *ast)
|
||||
this->specifier(it->value);
|
||||
}
|
||||
this->declarator(ast->declarator);
|
||||
this->expression(ast->initializer);
|
||||
// unsigned comma_token = ast->comma_token;
|
||||
this->expression(ast->expression);
|
||||
// unsigned rparen_token = ast->rparen_token;
|
||||
|
||||
Reference in New Issue
Block a user