From 800f4babc68f7d44d62da9f38ad51079fc1c8db6 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen <erik.verbruggen@nokia.com> Date: Fri, 22 Jan 2010 09:39:45 +0100 Subject: [PATCH] Removed unused method. --- src/shared/cplusplus/Parser.cpp | 14 -------------- src/shared/cplusplus/Parser.h | 1 - 2 files changed, 15 deletions(-) diff --git a/src/shared/cplusplus/Parser.cpp b/src/shared/cplusplus/Parser.cpp index ae22e72745e..c906a123f87 100644 --- a/src/shared/cplusplus/Parser.cpp +++ b/src/shared/cplusplus/Parser.cpp @@ -3581,20 +3581,6 @@ bool Parser::parseObjCSelectorArg(ObjCSelectorArgumentAST *&selNode, ObjCMessage return true; } -bool Parser::parseObjCMethodSignature() -{ - DEBUG_THIS_RULE(); - unsigned selector_token = 0; - if (parseObjCSelector(selector_token)) { - while (LA() == T_COMMA) { - consumeToken(); // skip T_COMMA - parseObjCSelector(selector_token); - } - return true; - } - return false; -} - bool Parser::parseNameId(NameAST *&name) { DEBUG_THIS_RULE(); diff --git a/src/shared/cplusplus/Parser.h b/src/shared/cplusplus/Parser.h index 62e1a694185..6b80133788d 100644 --- a/src/shared/cplusplus/Parser.h +++ b/src/shared/cplusplus/Parser.h @@ -230,7 +230,6 @@ public: bool parseObjCProtocolExpression(ExpressionAST *&node); bool parseObjCSelectorExpression(ExpressionAST *&node); bool parseObjCStringLiteral(ExpressionAST *&node); - bool parseObjCMethodSignature(); bool parseObjCMessageExpression(ExpressionAST *&node); bool parseObjCMessageReceiver(ExpressionAST *&node); bool parseObjCMessageArguments(ObjCSelectorAST *&selNode, ObjCMessageArgumentListAST *& argNode); -- GitLab