Lines Matching full:isa
4 // Test deprecated direct usage of the 'isa' pointer.
10 struct objc_class *isa; field
15 struct objc_class *isa; field
28 …[(*x).isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor o…
29 …[x->isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of …
34 // instance variable 'isa' is @protected; this will be a hard error in the future
37 [(*y).isa self]; // expected-error {{instance variable 'isa' is protected}} \
39 [y->isa self]; // expected-error {{instance variable 'isa' is protected}} \
43 // If an ivar is (1) the first ivar in a root class and (2) named `isa`,
44 // then it should get the same warnings that id->isa gets.
48 Class isa; // expected-note 4 {{instance variable is declared here}} field
55 Class isa; // note, not first ivar; field
67 Class isa; // note, isa is not in root class field
79 …(void)v->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
80 …(void)w->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
81 …(void)x->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
82 …(void)y->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
83 (void)z->isa;
84 (void)u->isa;
86 …w->isa = 0; // expected-warning {{assignment to Objective-C's isa is deprecated in favor of object…