mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 20:05:35 +02:00
Fixed Bug 84095 - [ICASTCompositeTypeSpecifier] has boxes in its specifier string representation
This commit is contained in:
parent
1ba71c339b
commit
6d063588c2
4 changed files with 28 additions and 0 deletions
|
@ -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$
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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$
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -82,4 +82,11 @@ public class CPPASTEnumerationSpecifier extends CPPASTBaseDeclSpecifier
|
||||||
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$
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue