forked from qt-creator/qt-creator
		
	Handle ambiguous AST nodes.
This commit is contained in:
		@@ -417,6 +417,24 @@ protected:
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual bool visit(ExpressionOrDeclarationStatementAST *ast)
 | 
			
		||||
    {
 | 
			
		||||
        accept(ast->declaration);
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual bool visit(FunctionDeclaratorAST *ast)
 | 
			
		||||
    {
 | 
			
		||||
        accept(ast->parameters);
 | 
			
		||||
 | 
			
		||||
        for (SpecifierAST *spec = ast->cv_qualifier_seq; spec; spec = spec->next)
 | 
			
		||||
            accept(spec);
 | 
			
		||||
 | 
			
		||||
        accept(ast->exception_specification);
 | 
			
		||||
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    QFutureInterface<Utils::FileSearchResult> *_future;
 | 
			
		||||
    Identifier *_id; // ### remove me
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user