forked from qt-creator/qt-creator
		
	Speed up the comutation of the local members.
This commit is contained in:
		@@ -540,6 +540,14 @@ Scope *FindUsages::enclosingScope()
 | 
			
		||||
            if (foreachStmt->symbol)
 | 
			
		||||
                return foreachStmt->symbol->members();
 | 
			
		||||
 | 
			
		||||
        } else if (SwitchStatementAST *switchStmt = ast->asSwitchStatement()) {
 | 
			
		||||
            if (switchStmt->symbol)
 | 
			
		||||
                return switchStmt->symbol->members();
 | 
			
		||||
 | 
			
		||||
        } else if (CatchClauseAST *catchClause = ast->asCatchClause()) {
 | 
			
		||||
            if (catchClause->symbol)
 | 
			
		||||
                return catchClause->symbol->members();
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user