1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-02-27 21:01:47 +00:00
parent 2248fd43bc
commit 4628ff3643

View file

@ -26,7 +26,6 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
* Function parameter or non-type template parameter declaration. * Function parameter or non-type template parameter declaration.
*/ */
public class CPPASTParameterDeclaration extends ASTNode implements ICPPASTParameterDeclaration, IASTAmbiguityParent { public class CPPASTParameterDeclaration extends ASTNode implements ICPPASTParameterDeclaration, IASTAmbiguityParent {
private IASTDeclSpecifier fDeclSpec; private IASTDeclSpecifier fDeclSpec;
private ICPPASTDeclarator fDeclarator; private ICPPASTDeclarator fDeclarator;
@ -82,9 +81,9 @@ public class CPPASTParameterDeclaration extends ASTNode implements ICPPASTParame
public boolean accept( ASTVisitor action ){ public boolean accept( ASTVisitor action ){
if (action.shouldVisitParameterDeclarations) { if (action.shouldVisitParameterDeclarations) {
switch (action.visit((IASTParameterDeclaration) this)) { switch (action.visit((IASTParameterDeclaration) this)) {
case ASTVisitor.PROCESS_ABORT : return false; case ASTVisitor.PROCESS_ABORT: return false;
case ASTVisitor.PROCESS_SKIP : return true; case ASTVisitor.PROCESS_SKIP: return true;
default : break; default: break;
} }
} }