Lines Matching full:id
5 @property (weak) id wa; // expected-note {{property declared here}}
6 @property (weak) id wb;
7 @property (weak) id wc; // expected-note {{property declared here}}
8 @property (weak) id wd;
9 @property (unsafe_unretained) id ua;
10 @property (unsafe_unretained) id ub; // expected-note {{property declared here}}
11 @property (unsafe_unretained) id uc;
12 @property (unsafe_unretained) id ud;
13 @property (strong) id sa;
14 @property (strong) id sb; // expected-note {{property declared here}}
15 @property (strong) id sc;
16 @property (strong) id sd;
20 …id _wa; // expected-error {{existing instance variable '_wa' for __weak property 'wa' must be __we…
21 __weak id _wb;
22 …__unsafe_unretained id _wc; // expected-error {{existing instance variable '_wc' for __weak proper…
23 id _ua;
24 …__weak id _ub; // expected-error {{existing instance variable '_ub' for property 'ub' with unsafe_…
25 __unsafe_unretained id _uc;
26 id _sa;
27 …__weak id _sb; // expected-error {{existing instance variable '_sb' for strong property 'sb' may n…
28 __unsafe_unretained id _sc;
46 __weak id x; // expected-note {{jump bypasses initialization of __weak variable}}}
51 void test_weak_cast(id *value) {
52 __weak id *a = (__weak id*) value;
53 …id *b = (__weak id*) value; // expected-error {{initializing 'id *' with an expression of type '__…
54 …__weak id *c = (id*) value; // expected-error {{initializing '__weak id *' with an expression of t…
57 void test_unsafe_unretained_cast(id *value) {
58 __unsafe_unretained id *a = (__unsafe_unretained id*) value;
59 id *b = (__unsafe_unretained id*) value;
60 __unsafe_unretained id *c = (id*) value;
63 void test_cast_qualifier_inference(__weak id *value) {
64 __weak id *a = (id*) value;
65 …__unsafe_unretained id *b = (id *)value; // expected-error {{initializing 'id *' with an expressio…