mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Cosmetics.
This commit is contained in:
parent
3b373bb5a5
commit
ff5997789d
1 changed files with 8 additions and 10 deletions
|
@ -31,9 +31,8 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
|
|||
import org.eclipse.core.runtime.PlatformObject;
|
||||
|
||||
public class CPPTypedef extends PlatformObject implements ITypedef, ITypeContainer, ICPPInternalBinding {
|
||||
|
||||
private IASTName[] declarations = null;
|
||||
private IType type = null;
|
||||
private IASTName[] declarations;
|
||||
private IType type;
|
||||
|
||||
public CPPTypedef(IASTName name) {
|
||||
// bug 223020 even though qualified names are not legal, we need to deal with them.
|
||||
|
@ -120,6 +119,7 @@ public class CPPTypedef extends PlatformObject implements ITypedef, ITypeContain
|
|||
}
|
||||
return t;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.IBinding#getFullyQualifiedName()
|
||||
*/
|
||||
|
@ -162,12 +162,10 @@ public class CPPTypedef extends PlatformObject implements ITypedef, ITypeContain
|
|||
if (node instanceof IASTName) {
|
||||
if (node.getParent() instanceof ICPPASTQualifiedName) {
|
||||
name= (IASTName) node.getParent();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
name= (IASTName) node;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue