Home | History | Annotate | Download | only in SemaObjC

Lines Matching full:warning

14   [self F]; // no warning, since the caller is also deprecated.
19 X++; // expected-warning{{'X' is deprecated}}
20 self->X++; // expected-warning{{'X' is deprecated}}
21 [self f]; // expected-warning{{'f' is deprecated}}
26 [self f]; // no warning, the caller is deprecated in its interface.
36 [super F]; // expected-warning{{'F' is deprecated}}
41 [super f]; // // expected-warning{{'f' is deprecated}}
51 [A F]; // expected-warning{{'F' is deprecated}}
52 [a f]; // expected-warning{{'f' is deprecated}}
57 [a f]; // expected-warning {{'f' is deprecated}}
62 [a f]; // expected-warning{{'f' is deprecated}}
63 [a p]; // expected-warning{{'p' is deprecated}}
81 f.FooBar = 1; // expected-warning {{'FooBar' is deprecated}}
82 return f.FooBar; // expected-warning {{'FooBar' is deprecated}}
89 DEPRECATED *ivar2; // no warning.
92 - (DEPRECATED *) meth; // no warning.
96 @interface DEPRECATED (Category) // no warning.
97 - (DEPRECATED *) meth2; // no warning.
100 @interface DEPRECATED (Category2) // no warning.
103 @implementation DEPRECATED (Category2) // expected-warning {{'DEPRECATED' is deprecated}}
106 @interface NS : DEPRECATED // expected-warning {{'DEPRECATED' is deprecated}}
117 x = foo.test2; // expected-warning {{'test2' is deprecated}}
118 x = [foo test2]; // expected-warning {{'test2' is deprecated}}
119 foo.test2 = x; // expected-warning {{'test2' is deprecated}}
120 [foo setTest2: x]; // expected-warning {{'setTest2:' is deprecated}}
133 footype a; // expected-warning {{'footype' is deprecated}}
136 @property footype c; // expected-warning {{'footype' is deprecated}}
147 @interface SI : DeprI // expected-warning {{'DeprI' is deprecated: blah}}
148 -(DeprI*)meth; // expected-warning {{'DeprI' is deprecated: blah}}
152 -(DeprI*)meth { // expected-warning {{'DeprI' is deprecated: blah}}
153 [DeprI cmeth]; // expected-warning {{'DeprI' is deprecated: blah}}
169 + (DeprecatedClassB *)sharedInstance; // no-warning
175 + (DeprecatedClassA *)somethingElse; // no-warning
184 static DeprecatedClassB *x; // no-warning
190 static DeprecatedClassA *x; // no-warning
205 @property (nonatomic, strong) id object; //expected-warning {{auto property synthesis will not synthesize property 'object'; it will be implemented by its superclass}}
222 base.object = object; // expected-warning {{'object' is deprecated: deprecated}}
225 [base setObject:object]; // expected-warning {{'setObject:' is deprecated: deprecated}}
238 return [PID cString]; // expected-warning {{'cString' is deprecated: first deprecated in macOS 10.4}}
261 @implementation UndeclaredImpl // expected-warning{{cannot find interface declaration}}
270 [a partiallyUnavailableMethod]; // no warning, `a` could be an UndeclaredImpl.
285 [a anotherPartiallyUnavailableMethod]; // no warning, `a` could be an InterfaceWithImplementation.
292 - (void)method2:(S2) x; // expected-warning{{is deprecated}}
296 - (void)method2:(S2) x; // expected-warning{{is deprecated}}