1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2009-08-23 23:47:57 +00:00
parent 4a8ac7dfab
commit 02b962a4a7
2 changed files with 5 additions and 5 deletions

View file

@ -182,7 +182,7 @@ public class CPPClassType extends PlatformObject implements ICPPInternalClassTyp
name = ns[ns.length - 1];
}
IASTNode parent = name.getParent();
while(parent instanceof IASTName)
while (parent instanceof IASTName)
parent = parent.getParent();
if (parent instanceof IASTCompositeTypeSpecifier)

View file

@ -27,19 +27,20 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor;
public class CPPConstructor extends CPPMethod implements ICPPConstructor {
static public class CPPConstructorProblem extends CPPMethod.CPPMethodProblem implements ICPPConstructor {
public CPPConstructorProblem( IASTNode node, int id, char[] arg ) {
super( node, id, arg );
public CPPConstructorProblem(IASTNode node, int id, char[] arg) {
super(node, id, arg);
}
public boolean isExplicit() throws DOMException{
throw new DOMException( this );
}
}
/**
* @param declarator
*/
public CPPConstructor(ICPPASTFunctionDeclarator declarator) {
super( declarator );
super(declarator);
}
/* (non-Javadoc)
@ -55,5 +56,4 @@ public class CPPConstructor extends CPPMethod implements ICPPConstructor {
}
return false;
}
}