mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Code streamlining.
Change-Id: I813c84d316a15727e45293849c21577565fa4afa
This commit is contained in:
parent
902aae8fcf
commit
87ce31e19e
1 changed files with 3 additions and 3 deletions
|
@ -992,7 +992,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
// foo(a);
|
// foo(a);
|
||||||
// }
|
// }
|
||||||
public void testFunctionInstanceParameters() throws Exception {
|
public void testFunctionInstanceParameters() throws Exception {
|
||||||
IBinding b0= getBindingFromASTName("foo(a)", 3);
|
IBinding b0= getBindingFromFirstIdentifier("foo(a)");
|
||||||
assertInstance(b0, ICPPTemplateInstance.class);
|
assertInstance(b0, ICPPTemplateInstance.class);
|
||||||
assertInstance(b0, ICPPFunction.class);
|
assertInstance(b0, ICPPFunction.class);
|
||||||
|
|
||||||
|
@ -1033,7 +1033,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
// func(&a, &A::m);
|
// func(&a, &A::m);
|
||||||
// }
|
// }
|
||||||
public void testFunctionTemplate_245030() throws Exception {
|
public void testFunctionTemplate_245030() throws Exception {
|
||||||
ICPPFunction f= getBindingFromASTName("func(&a, &A::m)", 4, ICPPFunction.class);
|
ICPPFunction f= getBindingFromFirstIdentifier("func(&a, &A::m)");
|
||||||
assertInstance(f, ICPPTemplateInstance.class);
|
assertInstance(f, ICPPTemplateInstance.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1054,7 +1054,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
// func(a, b);
|
// func(a, b);
|
||||||
// }
|
// }
|
||||||
public void testFunctionTemplate_319498() throws Exception {
|
public void testFunctionTemplate_319498() throws Exception {
|
||||||
ICPPFunction f= getBindingFromASTName("func(a, b)", 4, ICPPFunction.class);
|
ICPPFunction f= getBindingFromFirstIdentifier("func(a, b)");
|
||||||
assertInstance(f, ICPPTemplateInstance.class);
|
assertInstance(f, ICPPTemplateInstance.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue