Commit dbffec2c authored by Roberto Raggi's avatar Roberto Raggi

Handle ambiguous AST nodes.

parent fd6e1858
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment