forked from qt-creator/qt-creator
Removed unused method Parser::maybeSimpleExpression()
This commit is contained in:
@@ -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)
|
||||
|
@@ -265,7 +265,6 @@ public:
|
||||
void match(int kind, unsigned *token);
|
||||
|
||||
bool maybeAmbiguousStatement(DeclarationStatementAST *ast) const;
|
||||
bool maybeSimpleExpression(SimpleDeclarationAST *simpleDecl) const;
|
||||
bool maybeForwardOrClassDeclaration(SpecifierAST *decl_specifier_seq) const;
|
||||
bool isPointerDeclaration(DeclarationStatementAST *ast) const;
|
||||
|
||||
|
Reference in New Issue
Block a user