Skip to content
Snippets Groups Projects
Commit dbffec2c authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Handle ambiguous AST nodes.

parent fd6e1858
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment