forked from qt-creator/qt-creator
		
	Fixed semantic check for ObjC fast-enumeration for-loops, then merged it with the semantic check for the foreach.
This commit is contained in:
		@@ -90,6 +90,14 @@ protected:
 | 
			
		||||
    virtual bool visit(WhileStatementAST *ast);
 | 
			
		||||
    virtual bool visit(QtMemberDeclarationAST *ast);
 | 
			
		||||
 | 
			
		||||
    bool forEachFastEnum(unsigned firstToken,
 | 
			
		||||
                         unsigned lastToken,
 | 
			
		||||
                         SpecifierListAST *type_specifier_list,
 | 
			
		||||
                         DeclaratorAST *declarator,
 | 
			
		||||
                         ExpressionAST *initializer,
 | 
			
		||||
                         ExpressionAST *expression,
 | 
			
		||||
                         StatementAST *statement,
 | 
			
		||||
                         Block *&symbol);
 | 
			
		||||
private:
 | 
			
		||||
    StatementAST *_statement;
 | 
			
		||||
    Scope *_scope;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user