Home | History | Annotate | Download | only in SemaObjCXX

Lines Matching full:is_same

7 struct is_same {
12 struct is_same<T, T> {
35 int check_infer_strong[is_same<id, __strong id>::value? 1 : -1];
77 int check_make_strong1[is_same<make_strong_pointer<id>::type, __strong id *>::value ? 1 : -1];
78 int check_make_strong2[is_same<make_strong_pointer<A*>::type, A* __strong *>::value ? 1 : -1];
81 int check_make_strong3[is_same<make_strong_pointer<__strong id>::type, __strong id *>::value ? 1 : -1];
82 int check_make_strong4[is_same<make_strong_pointer<__strong A*>::type, A* __strong *>::value ? 1 : -1];
85 int check_make_strong5[is_same<make_strong_pointer<int>::type, int *>::value ? 1 : -1];
86 int check_make_strong6[is_same<make_strong_pointer<__weak id>::type, __strong id *>::value ? 1 : -1];
93 int check_make_weak0[is_same<make_weak<id>::type, __weak id>::value? 1 : -1];
94 int check_make_weak1[is_same<make_weak<__strong id>::type, __weak id>::value? 1 : -1];
95 int check_make_weak2[is_same<make_weak<__autoreleasing id>::type, __weak id>::value? 1 : -1];
104 int check_make_weak_fail0[is_same<make_weak_fail<__weak id>::type, __weak id>::value? 1 : -1]; // expected-note{{in instantiation of template class 'make_weak_fail<__weak id>' requested here}}
106 int check_make_weak_fail1[is_same<make_weak_fail<id>::type, __weak id>::value? -1 : 1]; // expected-note{{in instantiation of template class 'make_weak_fail<id>' requested here}}