mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Cosmetics.
This commit is contained in:
parent
4a8ac7dfab
commit
02b962a4a7
2 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue