forked from qt-creator/qt-creator
C++: Add support for C++11 range-based 'for' loops
Change-Id: I7eef048a7952a79f031ae3d0abba68e3c5ffbfb8 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
committed by
Roberto Raggi
parent
7f943caedb
commit
da2aa0df72
@@ -639,6 +639,12 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
bool visit(RangeBasedForStatementAST *stmt)
|
||||
{
|
||||
statement(stmt->statement);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool visit(ForStatementAST *stmt)
|
||||
{
|
||||
statement(stmt->initializer);
|
||||
|
||||
Reference in New Issue
Block a user