mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Cosmetics.
This commit is contained in:
parent
eb663099f5
commit
619e22ea88
1 changed files with 8 additions and 10 deletions
|
@ -1312,7 +1312,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
assertTrue(t2 instanceof ICPPSpecialization);
|
assertTrue(t2 instanceof ICPPSpecialization);
|
||||||
final IType type = t2.getType();
|
final IType type = t2.getType();
|
||||||
assertTrue(type instanceof IBasicType);
|
assertTrue(type instanceof IBasicType);
|
||||||
assertEquals(((IBasicType)type).getType(), IBasicType.t_int);
|
assertEquals("int", ASTTypeUtil.getType(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
// template<typename _Iterator> struct iterator_traits {
|
// template<typename _Iterator> struct iterator_traits {
|
||||||
|
@ -1366,7 +1366,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
|
|
||||||
final IType type = t2.getType();
|
final IType type = t2.getType();
|
||||||
assertTrue(type instanceof IBasicType);
|
assertTrue(type instanceof IBasicType);
|
||||||
assertEquals(((IBasicType) type).getType(), IBasicType.t_int);
|
assertEquals("int", ASTTypeUtil.getType(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
// struct A {
|
// struct A {
|
||||||
|
@ -1377,7 +1377,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
// struct A::S {};
|
// struct A::S {};
|
||||||
|
|
||||||
// A::S<int> a;
|
// A::S<int> a;
|
||||||
public void testXXX() throws Exception {
|
public void testMemberTemplateClass() throws Exception {
|
||||||
checkBindings();
|
checkBindings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2314,5 +2314,3 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
checkBindings();
|
checkBindings();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue