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
29 …[(*x).isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor o…
30 …[x->isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of …
35 // instance variable 'isa' is @protected; this will be a hard error in the future
38 [(*y).isa self]; // expected-error {{instance variable 'isa' is protected}} \
40 [y->isa self]; // expected-error {{instance variable 'isa' is protected}} \
45 // If an ivar is (1) the first ivar in a root class and (2) named `isa`,
46 // then it should get the same warnings that id->isa gets.
50 Class isa; // expected-note 4 {{instance variable is declared here}} field
57 Class isa; // note, not first ivar; field
69 Class isa; // note, isa is not in root class field
81 …(void)v->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
82 …(void)w->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
83 …(void)x->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
84 …(void)y->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
85 (void)z->isa;
86 (void)u->isa;
88 …w->isa = 0; // expected-warning {{assignment to Objective-C's isa is deprecated in favor of object…