mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-07 08:15:48 +02:00
Cosmetics.
This commit is contained in:
parent
8a315d0822
commit
4dcc4e1fde
1 changed files with 7 additions and 11 deletions
|
@ -78,13 +78,11 @@ public class ASTInternal {
|
||||||
ICPPInternalBinding ib= (ICPPInternalBinding) binding;
|
ICPPInternalBinding ib= (ICPPInternalBinding) binding;
|
||||||
decls= ib.getDeclarations();
|
decls= ib.getDeclarations();
|
||||||
def= ib.getDefinition();
|
def= ib.getDefinition();
|
||||||
}
|
} else if (binding instanceof ICInternalBinding) {
|
||||||
else if (binding instanceof ICInternalBinding) {
|
|
||||||
ICInternalBinding ib= (ICInternalBinding) binding;
|
ICInternalBinding ib= (ICInternalBinding) binding;
|
||||||
decls= ib.getDeclarations();
|
decls= ib.getDeclarations();
|
||||||
def= ib.getDefinition();
|
def= ib.getDefinition();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (requireDefinition && def == null) {
|
if (requireDefinition && def == null) {
|
||||||
|
@ -135,13 +133,11 @@ public class ASTInternal {
|
||||||
ICPPInternalBinding ib= (ICPPInternalBinding) binding;
|
ICPPInternalBinding ib= (ICPPInternalBinding) binding;
|
||||||
decls= ib.getDeclarations();
|
decls= ib.getDeclarations();
|
||||||
def= ib.getDefinition();
|
def= ib.getDefinition();
|
||||||
}
|
} else if (binding instanceof ICInternalBinding) {
|
||||||
else if (binding instanceof ICInternalBinding) {
|
|
||||||
ICInternalBinding ib= (ICInternalBinding) binding;
|
ICInternalBinding ib= (ICInternalBinding) binding;
|
||||||
decls= ib.getDeclarations();
|
decls= ib.getDeclarations();
|
||||||
def= ib.getDefinition();
|
def= ib.getDefinition();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
String filePath= null;
|
String filePath= null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue