Home | History | Annotate | Download | only in SemaObjC

Lines Matching full:deprecated

4   int X __attribute__((deprecated)); // expected-note 2 {{declared here}}
6 + (void)F __attribute__((deprecated)); // expected-note 2 {{declared here}}
7 - (void)f __attribute__((deprecated)); // expected-note 4 {{declared here}}
11 + (void)F __attribute__((deprecated))
13 [self F]; // no warning, since the caller is also deprecated.
18 X++; // expected-warning{{'X' is deprecated}}
19 self->X++; // expected-warning{{'X' is deprecated}}
20 [self f]; // expected-warning{{'f' is deprecated}}
25 [self f]; // no warning, the caller is deprecated in its interface.
35 [super F]; // expected-warning{{'F' is deprecated}}
40 [super f]; // // expected-warning{{'f' is deprecated}}
45 - (void)p __attribute__((deprecated)); // expected-note {{declared here}}
50 [A F]; // expected-warning{{'F' is deprecated}}
51 [a f]; // expected-warning{{'f' is deprecated}}
61 [a f]; // expected-warning{{'f' is deprecated}}
62 [a p]; // expected-warning{{'p' is deprecated}}
74 @property (assign, setter = MySetter:) int FooBar __attribute__ ((deprecated)); // expected-note 2 {{declared here}}
80 f.FooBar = 1; // expected-warning {{'FooBar' is deprecated}}
81 return f.FooBar; // expected-warning {{'FooBar' is deprecated}}
85 __attribute ((deprecated))
86 @interface DEPRECATED { // expected-note 2 {{declared here}}
88 DEPRECATED *ivar2; // no warning.
91 - (DEPRECATED *) meth; // no warning.
95 @interface DEPRECATED (Category) // no warning.
96 - (DEPRECATED *) meth2; // no warning.
99 @interface DEPRECATED (Category2) // no warning.
102 @implementation DEPRECATED (Category2) // expected-warning {{'DEPRECATED' is deprecated}}
105 @interface NS : DEPRECATED // expected-warning {{'DEPRECATED' is deprecated}}
110 @property int test2 __attribute__((deprecated)); // expected-note 4 {{declared here}} \
111 // expected-note 2 {{property 'test2' is declared deprecated here}}
116 x = foo.test2; // expected-warning {{'test2' is deprecated}}
117 x = [foo test2]; // expected-warning {{'test2' is deprecated}}
118 foo.test2 = x; // expected-warning {{'test2' is deprecated}}
119 [foo setTest2: x]; // expected-warning {{'setTest2:' is deprecated}}
122 __attribute__((deprecated))
129 } footype __attribute((deprecated)); // expected-note 2 {{declared here}}
132 footype a; // expected-warning {{'footype' is deprecated}}
133 footype b __attribute((deprecated));
135 @property footype c; // expected-warning {{'footype' is deprecated}}
136 @property footype d __attribute((deprecated));