mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
91ce2a55a6
commit
0eddb7c8b3
2 changed files with 6 additions and 6 deletions
|
@ -84,11 +84,11 @@ public class GetterSetterInsertEditProvider implements Comparable<GetterSetterIn
|
|||
}
|
||||
|
||||
private ICPPASTQualifiedName getClassname() {
|
||||
IASTNode n = fieldDeclaration.getParent();
|
||||
while (!(n instanceof IASTCompositeTypeSpecifier)) {
|
||||
n = n.getParent();
|
||||
IASTNode node = fieldDeclaration.getParent();
|
||||
while (!(node instanceof IASTCompositeTypeSpecifier)) {
|
||||
node = node.getParent();
|
||||
}
|
||||
IASTCompositeTypeSpecifier comp = (IASTCompositeTypeSpecifier) n;
|
||||
IASTCompositeTypeSpecifier comp = (IASTCompositeTypeSpecifier) node;
|
||||
|
||||
CPPASTQualifiedName qname = new CPPASTQualifiedName();
|
||||
qname.addName(comp.getName().copy(CopyStyle.withLocations));
|
||||
|
|
Loading…
Add table
Reference in a new issue