From 1fb33e9fad0d65fb2259fb603f61bc255f19b70f Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Tue, 10 Nov 2009 15:21:33 +0100 Subject: [PATCH] Removed deprecated methods. --- src/shared/cplusplus/AST.h | 10 ---------- src/shared/cplusplus/ASTVisitor.h | 12 ------------ 2 files changed, 22 deletions(-) diff --git a/src/shared/cplusplus/AST.h b/src/shared/cplusplus/AST.h index 6fbf26e52ca..2e858bd5f57 100644 --- a/src/shared/cplusplus/AST.h +++ b/src/shared/cplusplus/AST.h @@ -146,11 +146,9 @@ public: virtual CppCastExpressionAST *asCppCastExpression() { return 0; } virtual CtorInitializerAST *asCtorInitializer() { return 0; } virtual DeclarationAST *asDeclaration() { return 0; } - virtual DeclarationListAST *asDeclarationList() { return 0; } virtual DeclarationStatementAST *asDeclarationStatement() { return 0; } virtual DeclaratorAST *asDeclarator() { return 0; } virtual DeclaratorIdAST *asDeclaratorId() { return 0; } - virtual DeclaratorListAST *asDeclaratorList() { return 0; } virtual DeleteExpressionAST *asDeleteExpression() { return 0; } virtual DestructorNameAST *asDestructorName() { return 0; } virtual DoStatementAST *asDoStatement() { return 0; } @@ -168,7 +166,6 @@ public: virtual FunctionDeclaratorAST *asFunctionDeclarator() { return 0; } virtual FunctionDefinitionAST *asFunctionDefinition() { return 0; } virtual GotoStatementAST *asGotoStatement() { return 0; } - virtual ObjCIdentifierListAST *asIdentifierList() { return 0; } virtual IfStatementAST *asIfStatement() { return 0; } virtual LabeledStatementAST *asLabeledStatement() { return 0; } virtual LinkageBodyAST *asLinkageBody() { return 0; } @@ -196,13 +193,10 @@ public: virtual ObjCInstanceVariablesDeclarationAST *asObjCInstanceVariablesDeclaration() { return 0; } virtual ObjCMessageArgumentAST *asObjCMessageArgument() { return 0; } virtual ObjCMessageArgumentDeclarationAST *asObjCMessageArgumentDeclaration() { return 0; } - virtual ObjCMessageArgumentDeclarationListAST *asObjCMessageArgumentDeclarationList() { return 0; } - virtual ObjCMessageArgumentListAST *asObjCMessageArgumentList() { return 0; } virtual ObjCMessageExpressionAST *asObjCMessageExpression() { return 0; } virtual ObjCMethodDeclarationAST *asObjCMethodDeclaration() { return 0; } virtual ObjCMethodPrototypeAST *asObjCMethodPrototype() { return 0; } virtual ObjCPropertyAttributeAST *asObjCPropertyAttribute() { return 0; } - virtual ObjCPropertyAttributeListAST *asObjCPropertyAttributeList() { return 0; } virtual ObjCPropertyDeclarationAST *asObjCPropertyDeclaration() { return 0; } virtual ObjCProtocolDeclarationAST *asObjCProtocolDeclaration() { return 0; } virtual ObjCProtocolExpressionAST *asObjCProtocolExpression() { return 0; } @@ -210,14 +204,12 @@ public: virtual ObjCProtocolRefsAST *asObjCProtocolRefs() { return 0; } virtual ObjCSelectorAST *asObjCSelector() { return 0; } virtual ObjCSelectorArgumentAST *asObjCSelectorArgument() { return 0; } - virtual ObjCSelectorArgumentListAST *asObjCSelectorArgumentList() { return 0; } virtual ObjCSelectorExpressionAST *asObjCSelectorExpression() { return 0; } virtual ObjCSelectorWithArgumentsAST *asObjCSelectorWithArguments() { return 0; } virtual ObjCSelectorWithoutArgumentsAST *asObjCSelectorWithoutArguments() { return 0; } virtual ObjCSynchronizedStatementAST *asObjCSynchronizedStatement() { return 0; } virtual ObjCSynthesizedPropertiesDeclarationAST *asObjCSynthesizedPropertiesDeclaration() { return 0; } virtual ObjCSynthesizedPropertyAST *asObjCSynthesizedProperty() { return 0; } - virtual ObjCSynthesizedPropertyListAST *asObjCSynthesizedPropertyList() { return 0; } virtual ObjCTypeNameAST *asObjCTypeName() { return 0; } virtual ObjCVisibilityDeclarationAST *asObjCVisibilityDeclaration() { return 0; } virtual OperatorAST *asOperator() { return 0; } @@ -241,10 +233,8 @@ public: virtual SizeofExpressionAST *asSizeofExpression() { return 0; } virtual SpecifierAST *asSpecifier() { return 0; } virtual StatementAST *asStatement() { return 0; } - virtual StatementListAST *asStatementList() { return 0; } virtual StringLiteralAST *asStringLiteral() { return 0; } virtual SwitchStatementAST *asSwitchStatement() { return 0; } - virtual TemplateArgumentListAST *asTemplateArgumentList() { return 0; } virtual TemplateDeclarationAST *asTemplateDeclaration() { return 0; } virtual TemplateIdAST *asTemplateId() { return 0; } virtual TemplateTypeParameterAST *asTemplateTypeParameter() { return 0; } diff --git a/src/shared/cplusplus/ASTVisitor.h b/src/shared/cplusplus/ASTVisitor.h index ddb4886e78e..e1429fa2f6e 100644 --- a/src/shared/cplusplus/ASTVisitor.h +++ b/src/shared/cplusplus/ASTVisitor.h @@ -199,34 +199,28 @@ public: virtual bool visit(QtMethodAST *) { return true; } // ObjC++ - virtual bool visit(ObjCIdentifierListAST *) { return true; } virtual bool visit(ObjCClassDeclarationAST *) { return true; } virtual bool visit(ObjCClassForwardDeclarationAST *) { return true; } virtual bool visit(ObjCProtocolDeclarationAST *) { return true; } virtual bool visit(ObjCProtocolForwardDeclarationAST *) { return true; } virtual bool visit(ObjCProtocolRefsAST *) { return true; } virtual bool visit(ObjCMessageExpressionAST *) { return true; } - virtual bool visit(ObjCMessageArgumentListAST *) { return true; } virtual bool visit(ObjCMessageArgumentAST *) { return true; } virtual bool visit(ObjCProtocolExpressionAST *) { return true; } virtual bool visit(ObjCTypeNameAST *) { return true; } virtual bool visit(ObjCEncodeExpressionAST *) { return true; } virtual bool visit(ObjCSelectorWithoutArgumentsAST *) { return true; } virtual bool visit(ObjCSelectorArgumentAST *) { return true; } - virtual bool visit(ObjCSelectorArgumentListAST *) { return true; } virtual bool visit(ObjCSelectorWithArgumentsAST *) { return true; } virtual bool visit(ObjCSelectorExpressionAST *) { return true; } virtual bool visit(ObjCInstanceVariablesDeclarationAST *) { return true; } virtual bool visit(ObjCVisibilityDeclarationAST *) { return true; } virtual bool visit(ObjCPropertyAttributeAST *) { return true; } - virtual bool visit(ObjCPropertyAttributeListAST *) { return true; } virtual bool visit(ObjCPropertyDeclarationAST *) { return true; } virtual bool visit(ObjCMethodPrototypeAST *) { return true; } virtual bool visit(ObjCMethodDeclarationAST *) { return true; } - virtual bool visit(ObjCMessageArgumentDeclarationListAST *) { return true; } virtual bool visit(ObjCMessageArgumentDeclarationAST *) { return true; } virtual bool visit(ObjCSynthesizedPropertyAST *) { return true; } - virtual bool visit(ObjCSynthesizedPropertyListAST *) { return true; } virtual bool visit(ObjCSynthesizedPropertiesDeclarationAST *) { return true; } virtual bool visit(ObjCDynamicPropertiesDeclarationAST *) { return true; } virtual bool visit(ObjCFastEnumerationAST *) { return true; } @@ -330,34 +324,28 @@ public: virtual void endVisit(QtMethodAST *) { } // ObjC++ - virtual void endVisit(ObjCIdentifierListAST *) { } virtual void endVisit(ObjCClassDeclarationAST *) { } virtual void endVisit(ObjCClassForwardDeclarationAST *) { } virtual void endVisit(ObjCProtocolDeclarationAST *) { } virtual void endVisit(ObjCProtocolForwardDeclarationAST *) { } virtual void endVisit(ObjCProtocolRefsAST *) { } virtual void endVisit(ObjCMessageExpressionAST *) { } - virtual void endVisit(ObjCMessageArgumentListAST *) { } virtual void endVisit(ObjCMessageArgumentAST *) { } virtual void endVisit(ObjCProtocolExpressionAST *) { } virtual void endVisit(ObjCTypeNameAST *) { } virtual void endVisit(ObjCEncodeExpressionAST *) { } virtual void endVisit(ObjCSelectorWithoutArgumentsAST *) { } virtual void endVisit(ObjCSelectorArgumentAST *) { } - virtual void endVisit(ObjCSelectorArgumentListAST *) { } virtual void endVisit(ObjCSelectorWithArgumentsAST *) { } virtual void endVisit(ObjCSelectorExpressionAST *) { } virtual void endVisit(ObjCInstanceVariablesDeclarationAST *) { } virtual void endVisit(ObjCVisibilityDeclarationAST *) { } virtual void endVisit(ObjCPropertyAttributeAST *) { } - virtual void endVisit(ObjCPropertyAttributeListAST *) { } virtual void endVisit(ObjCPropertyDeclarationAST *) { } virtual void endVisit(ObjCMethodPrototypeAST *) { } virtual void endVisit(ObjCMethodDeclarationAST *) { } - virtual void endVisit(ObjCMessageArgumentDeclarationListAST *) { } virtual void endVisit(ObjCMessageArgumentDeclarationAST *) { } virtual void endVisit(ObjCSynthesizedPropertyAST *) { } - virtual void endVisit(ObjCSynthesizedPropertyListAST *) { } virtual void endVisit(ObjCSynthesizedPropertiesDeclarationAST *) { } virtual void endVisit(ObjCDynamicPropertiesDeclarationAST *) { } virtual void endVisit(ObjCFastEnumerationAST *) { } -- GitLab