Home | History | Annotate | Download | only in SemaObjCXX

Lines Matching full:__weak

52 int check_ptr_strong2[is_pointer_strong<__weak id*>::value? -1 : 1];
64 struct make_strong_pointer<__weak T> {
88 int check_make_strong6[is_same<make_strong_pointer<__weak id>::type, __strong id *>::value ? 1 : -1];
92 typedef __weak T type;
95 int check_make_weak0[is_same<make_weak<id>::type, __weak id>::value? 1 : -1];
96 int check_make_weak1[is_same<make_weak<__strong id>::type, __weak id>::value? 1 : -1];
97 int check_make_weak2[is_same<make_weak<__autoreleasing id>::type, __weak id>::value? 1 : -1];
102 typedef __weak T_type type; // expected-error{{the type 'T_type' (aka '__weak id') is already explicitly ownership-qualified}} \
106 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}}
108 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}}
121 __weak id *wip;
129 __weak id wi;
134 identity<__weak id> res5 = accept_any_ref(wi);
141 __weak A * *wip;
149 __weak A * wi;
154 identity<__weak A *> res5 = accept_any_ref(wi);
176 struct classify_pointer_pointer<__weak T*> {
191 struct classify_pointer_pointer<__weak T&> {
198 int classify_ptr4[classify_pointer_pointer<id __weak *>::value == 3? 1 : -1];
201 int classify_ptr7[classify_pointer_pointer<id __weak&>::value == 6? 1 : -1];
208 int classify_ptr14[classify_pointer_pointer<A * __weak *>::value == 3? 1 : -1];
211 int classify_ptr17[classify_pointer_pointer<A * __weak&>::value == 6? 1 : -1];
218 template<typename T> double& qual_vs_unqual_ptr(__weak T*);
221 template<typename T> double& qual_vs_unqual_ref(__weak T&);
226 __weak id *wip;
243 __weak A * *wap;
265 template<typename T> double& f(__weak T&);
308 template <class T> float &f(__weak T &);
315 __weak NSString * const weak = 0;