Fixed semantic check for ObjC fast-enumeration for-loops, then merged it with the semantic check for the foreach.

This commit is contained in:
Erik Verbruggen
2010-01-09 18:00:25 +01:00
parent 9052bd279f
commit 0c17d53875
8 changed files with 58 additions and 47 deletions

View File

@@ -1066,7 +1066,7 @@ void ObjCFastEnumerationAST::accept0(ASTVisitor *visitor)
accept(declarator, visitor);
accept(initializer, visitor);
accept(fast_enumeratable_expression, visitor);
accept(body_statement, visitor);
accept(statement, visitor);
}
visitor->endVisit(this);
}