mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +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];
|
name = ns[ns.length - 1];
|
||||||
}
|
}
|
||||||
IASTNode parent = name.getParent();
|
IASTNode parent = name.getParent();
|
||||||
while(parent instanceof IASTName)
|
while (parent instanceof IASTName)
|
||||||
parent = parent.getParent();
|
parent = parent.getParent();
|
||||||
|
|
||||||
if (parent instanceof IASTCompositeTypeSpecifier)
|
if (parent instanceof IASTCompositeTypeSpecifier)
|
||||||
|
|
|
@ -27,19 +27,20 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor;
|
||||||
public class CPPConstructor extends CPPMethod implements ICPPConstructor {
|
public class CPPConstructor extends CPPMethod implements ICPPConstructor {
|
||||||
|
|
||||||
static public class CPPConstructorProblem extends CPPMethod.CPPMethodProblem implements ICPPConstructor {
|
static public class CPPConstructorProblem extends CPPMethod.CPPMethodProblem implements ICPPConstructor {
|
||||||
public CPPConstructorProblem( IASTNode node, int id, char[] arg ) {
|
public CPPConstructorProblem(IASTNode node, int id, char[] arg) {
|
||||||
super( node, id, arg );
|
super(node, id, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isExplicit() throws DOMException{
|
public boolean isExplicit() throws DOMException{
|
||||||
throw new DOMException( this );
|
throw new DOMException( this );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param declarator
|
* @param declarator
|
||||||
*/
|
*/
|
||||||
public CPPConstructor(ICPPASTFunctionDeclarator declarator) {
|
public CPPConstructor(ICPPASTFunctionDeclarator declarator) {
|
||||||
super( declarator );
|
super(declarator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
@ -55,5 +56,4 @@ public class CPPConstructor extends CPPMethod implements ICPPConstructor {
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue