Lines Matching refs:__weak
11 __weak sub *w2; // expected-error {{class is incompatible with __weak references}}
13 __weak NSOptOut1072 *ns1; // expected-error {{class is incompatible with __weak references}}
17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o…
18 // expected-error {{class is incompatible with __weak references}} \
30 __weak id weak1;
31 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
33 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak…
34 …return (__weak id)strong1; // expected-error {{cast of weak-unavailable object of type 'NOWEAK *' …
43 __weak id<P> weak1;
44 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
46 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w…
47 …return (__weak id<P, P1>)strong1; // expected-error {{cast of weak-unavailable object of type 'NOW…