Removed unused method Parser::maybeSimpleExpression()

This commit is contained in:
Roberto Raggi
2009-10-20 11:29:53 +02:00
parent 7c62901919
commit 8f4bdd5355
2 changed files with 0 additions and 13 deletions

View File

@@ -1999,18 +1999,6 @@ bool Parser::parseReturnStatement(StatementAST *&node)
return false;
}
bool Parser::maybeSimpleExpression(SimpleDeclarationAST *simpleDecl) const
{
if (! simpleDecl->declarators) {
SpecifierAST *spec = simpleDecl->decl_specifier_seq;
if (spec && ! spec->next && spec->asNamedTypeSpecifier())
return true;
}
return false;
}
bool Parser::isPointerDeclaration(DeclarationStatementAST *ast) const
{
if (! ast)