mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
eaecec4781
commit
174a5c5112
1 changed files with 455 additions and 455 deletions
|
@ -1038,13 +1038,13 @@ public class AST2CPPTests extends AST2BaseTest {
|
||||||
IFunction f = (IFunction) decl.getDeclarators()[0].getName().resolveBinding();
|
IFunction f = (IFunction) decl.getDeclarators()[0].getName().resolveBinding();
|
||||||
|
|
||||||
decl = (IASTSimpleDeclaration) tu.getDeclarations()[2];
|
decl = (IASTSimpleDeclaration) tu.getDeclarations()[2];
|
||||||
IVariable g = (IVariable) decl.getDeclarators()[0]
|
IVariable g =
|
||||||
.getNestedDeclarator().getName().resolveBinding();
|
(IVariable) decl.getDeclarators()[0].getNestedDeclarator().getName().resolveBinding();
|
||||||
|
|
||||||
decl = (IASTSimpleDeclaration) tu.getDeclarations()[3];
|
decl = (IASTSimpleDeclaration) tu.getDeclarations()[3];
|
||||||
IVariable h = (IVariable) decl.getDeclarators()[0]
|
IVariable h =
|
||||||
.getNestedDeclarator().getNestedDeclarator().getName()
|
(IVariable) decl.getDeclarators()[0].getNestedDeclarator().getNestedDeclarator()
|
||||||
.resolveBinding();
|
.getName().resolveBinding();
|
||||||
|
|
||||||
IFunctionType t_f = f.getType();
|
IFunctionType t_f = f.getType();
|
||||||
IType t_f_return = t_f.getReturnType();
|
IType t_f_return = t_f.getReturnType();
|
||||||
|
|
Loading…
Add table
Reference in a new issue