Lines Matching full:id
4 int &f0(id __strong const *); // expected-note{{candidate function not viable: 1st argument ('__wea…
7 id __strong *sip;
8 id __strong const *csip;
9 id __weak *wip;
10 id __autoreleasing *aip;
11 id __unsafe_unretained *uip;
21 int &f1(id __strong const *);
22 float &f1(id __weak const *);
25 id __strong *sip;
26 id __strong const *csip;
27 id __weak *wip;
28 id __autoreleasing *aip;
29 id __unsafe_unretained *uip;
39 int &f2(id __strong const *); // expected-note{{candidate function}}
40 float &f2(id __autoreleasing const *); // expected-note{{candidate function}}
43 id __strong *sip;
44 id __strong const *csip;
45 id __weak *wip;
46 id __autoreleasing *aip;
47 id __unsafe_unretained *uip;
58 int &f3(id __autoreleasing *); // expected-note{{candidate function not viable: 1st argument ('__un…
61 id __strong sip;
62 id __weak wip;
63 id __autoreleasing aip;
64 id __unsafe_unretained uip;
73 int &f4(id __autoreleasing *);
74 float &f4(id __strong *);
77 id __strong sip;
78 id __weak wip;
79 id __autoreleasing aip;
80 extern __weak id weak_global_ptr;
89 int &f5(id __autoreleasing *);
90 float &f5(id const __unsafe_unretained *);
93 id __strong sip;
94 id __weak wip;
95 id __autoreleasing aip;
105 int &f6(id __autoreleasing *);
106 float &f6(id const __unsafe_unretained *);
119 void f7(__strong id&); // expected-note{{candidate function not viable: 1st argument ('__weak id') …
120 …// expected-note{{candidate function not viable: 1st argument ('__autoreleasing id') has __autorel…
121 …// expected-note{{candidate function not viable: 1st argument ('__unsafe_unretained id') has __uns…
124 __strong id strong_id;
125 __weak id weak_id;
126 __autoreleasing id autoreleasing_id;
127 __unsafe_unretained id unsafe_id;
134 void f8(const __strong id&);
137 __strong id strong_id;
138 __weak id weak_id;
139 __autoreleasing id autoreleasing_id;
140 __unsafe_unretained id unsafe_id;
148 int &f9(__strong id&);
149 float &f9(const __autoreleasing id&);
152 __strong id strong_id;
153 __weak id weak_id;
154 __autoreleasing id autoreleasing_id;
155 __unsafe_unretained id unsafe_id;
171 const __autoreleasing id& ar1 = strong_a;
172 const __autoreleasing id& ar2 = autoreleasing_a;
173 const __autoreleasing id& ar3 = unsafe_unretained_a;
174 const __autoreleasing id& ar4 = weak_a;
177 int &f10(__strong id *&); // expected-note 2{{not viable: no known conversion}}
178 float &f10(__autoreleasing id *&); // expected-note 2{{not viable: no known conversion}}
181 __strong id *strong_id;
182 __weak id *weak_id;
183 __autoreleasing id *autoreleasing_id;
184 __unsafe_unretained id *unsafe_id;
192 int &f11(__strong id *const &); // expected-note {{not viable: 1st argument ('__weak id *') has __w…
193 float &f11(const __autoreleasing id *const &); // expected-note {{not viable: 1st argument ('__weak…
196 __strong id *strong_id;
197 __weak id *weak_id;
198 __autoreleasing id *autoreleasing_id;
199 __unsafe_unretained id *unsafe_id;
226 id f() __attribute__((ns_returns_retained));
227 id g(); // expected-note{{previous declaration}}
230 id rdar10142572::f() { return 0; } // okay: merged down
231 id __attribute__((ns_returns_retained)) rdar10142572::g() { return 0; } // expected-error{{function…