mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
2248fd43bc
commit
4628ff3643
1 changed files with 5 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* John Camelon (IBM) - Initial API and implementation
|
* John Camelon (IBM) - Initial API and implementation
|
||||||
* Markus Schorn (Wind River Systems)
|
* Markus Schorn (Wind River Systems)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue