1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-29 11:55:40 +02:00

Fixed Bug 84095 - [ICASTCompositeTypeSpecifier] has boxes in its specifier string representation

This commit is contained in:
John Camelon 2005-02-01 15:17:05 +00:00
parent 1ba71c339b
commit 6d063588c2
4 changed files with 28 additions and 0 deletions

View file

@ -111,4 +111,11 @@ public class CASTCompositeTypeSpecifier extends CASTBaseDeclSpecifier implements
return scope; return scope;
} }
/* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier#getUnpreprocessedSignature()
*/
public String getUnpreprocessedSignature() {
return getName().toString() == null ? "" : getName().toString(); //$NON-NLS-1$
}
} }

View file

@ -80,4 +80,11 @@ public class CASTEnumerationSpecifier extends CASTBaseDeclSpecifier implements
return name; return name;
} }
/* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier#getUnpreprocessedSignature()
*/
public String getUnpreprocessedSignature() {
return getName().toString() == null ? "" : getName().toString(); //$NON-NLS-1$
}
} }

View file

@ -25,6 +25,13 @@ public class CPPASTCompositeTypeSpecifier extends CPPASTBaseDeclSpecifier
private IASTName n; private IASTName n;
private IScope scope; private IScope scope;
/* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier#getUnpreprocessedSignature()
*/
public String getUnpreprocessedSignature() {
return getName().toString() == null ? "" : getName().toString(); //$NON-NLS-1$
}
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier#getBaseSpecifiers() * @see org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier#getBaseSpecifiers()
*/ */

View file

@ -81,5 +81,12 @@ public class CPPASTEnumerationSpecifier extends CPPASTBaseDeclSpecifier
public IASTName getName() { public IASTName getName() {
return name; return name;
} }
/* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier#getUnpreprocessedSignature()
*/
public String getUnpreprocessedSignature() {
return getName().toString() == null ? "" : getName().toString(); //$NON-NLS-1$
}
} }