mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
toString method.
This commit is contained in:
parent
424ae7851d
commit
2a234109d5
1 changed files with 9 additions and 0 deletions
|
@ -100,4 +100,13 @@ public class CPPUsingDeclaration extends PlatformObject implements ICPPUsingDecl
|
|||
public IBinding getOwner() {
|
||||
return CPPVisitor.findDeclarationOwner(name, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
IASTNode node = name.getParent();
|
||||
if (node instanceof ICPPASTQualifiedName) {
|
||||
return node.toString();
|
||||
}
|
||||
return super.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue