mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2236,7 +2236,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
public void testDependentExpression_395875() throws Exception {
|
public void testDependentExpression_395875() throws Exception {
|
||||||
getBindingFromASTName("f(n.foo(0))", 1, ICPPFunction.class);
|
getBindingFromASTName("f(n.foo(0))", 1, ICPPFunction.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
// struct true_ {
|
// struct true_ {
|
||||||
// static const bool value = true;
|
// static const bool value = true;
|
||||||
// };
|
// };
|
||||||
|
@ -2274,7 +2274,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
public void testIntNullPointerConstant_407808() throws Exception {
|
public void testIntNullPointerConstant_407808() throws Exception {
|
||||||
checkBindings();
|
checkBindings();
|
||||||
}
|
}
|
||||||
|
|
||||||
// namespace bar {
|
// namespace bar {
|
||||||
// template<class T>
|
// template<class T>
|
||||||
// void join(T);
|
// void join(T);
|
||||||
|
@ -2283,7 +2283,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
// namespace foo {
|
// namespace foo {
|
||||||
// template<typename T>
|
// template<typename T>
|
||||||
// void join(T);
|
// void join(T);
|
||||||
//
|
//
|
||||||
// struct cat {};
|
// struct cat {};
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
@ -2296,7 +2296,7 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
public void testADLForQualifiedName_408296() throws Exception {
|
public void testADLForQualifiedName_408296() throws Exception {
|
||||||
checkBindings();
|
checkBindings();
|
||||||
}
|
}
|
||||||
|
|
||||||
// template <typename>
|
// template <typename>
|
||||||
// struct waldo {
|
// struct waldo {
|
||||||
// };
|
// };
|
||||||
|
@ -2308,11 +2308,9 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
|
||||||
//
|
//
|
||||||
// template <typename T>
|
// template <typename T>
|
||||||
// struct outer::inner<waldo<T>> {};
|
// struct outer::inner<waldo<T>> {};
|
||||||
|
|
||||||
// int main() {}
|
// int main() {}
|
||||||
public void testRegression_408314() throws Exception {
|
public void testRegression_408314() throws Exception {
|
||||||
checkBindings();
|
checkBindings();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue