From 24b6c858ebc3a16e9a82c0ea6e8fc6743f0e3229 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Tue, 10 Nov 2009 14:33:51 +0100 Subject: Cleanup postfix declarators. --- src/shared/cplusplus/CheckDeclarator.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/shared/cplusplus/CheckDeclarator.cpp') diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp index f89f796fe4..d32926e2eb 100644 --- a/src/shared/cplusplus/CheckDeclarator.cpp +++ b/src/shared/cplusplus/CheckDeclarator.cpp @@ -205,7 +205,6 @@ bool CheckDeclarator::visit(FunctionDeclaratorAST *ast) fun->setVolatile(true); } - accept(ast->next); return false; } @@ -215,7 +214,6 @@ bool CheckDeclarator::visit(ArrayDeclaratorAST *ast) FullySpecifiedType exprTy = semantic()->check(ast->expression, _scope); FullySpecifiedType arrTy(ty); _fullySpecifiedType = ty; - accept(ast->next); return false; } @@ -226,7 +224,6 @@ bool CheckDeclarator::visit(PointerToMemberAST *ast) FullySpecifiedType ty(ptrTy); _fullySpecifiedType = ty; applyCvQualifiers(ast->cv_qualifier_seq); - accept(ast->next); return false; } @@ -236,7 +233,6 @@ bool CheckDeclarator::visit(PointerAST *ast) FullySpecifiedType ty(ptrTy); _fullySpecifiedType = ty; applyCvQualifiers(ast->cv_qualifier_seq); - accept(ast->next); return false; } @@ -245,7 +241,6 @@ bool CheckDeclarator::visit(ReferenceAST *ast) ReferenceType *refTy = control()->referenceType(_fullySpecifiedType); FullySpecifiedType ty(refTy); _fullySpecifiedType = ty; - accept(ast->next); return false; } -- cgit v1.2.1