Lines Matching refs:warning

132 …nonnull_NSControl = [unspecifiedControl maybeView];  // expected-warning{{from nullable pointer 'N…
137 …nonnull_NSControl = [nonnullControl maybeView]; // expected-warning{{from nullable pointer 'Nonnu…
159 ip = [stringSet firstObject]; // expected-warning{{from 'NSString *'}}
160 ip = [mutStringSet firstObject]; // expected-warning{{from 'NSString *'}}
161 ip = [widgetSet firstObject]; // expected-warning{{from 'Widget *'}}
162 ip = [untypedMutSet firstObject]; // expected-warning{{from 'id'}}
163 ip = [mutStringArraySet firstObject]; // expected-warning{{from 'NSArray<NSString *> *'}}
164 ip = [set firstObject]; // expected-warning{{from 'id'}}
165 ip = [mutSet firstObject]; // expected-warning{{from 'id'}}
166 ip = [mutArraySet firstObject]; // expected-warning{{from 'id'}}
167 ip = [block firstObject]; // expected-warning{{from 'id'}}
169 ip = [stringSet findObject:@"blah"]; // expected-warning{{from 'NSString *'}}
172 ip = [NSSet<NSString *> alloc]; // expected-warning{{from 'NSSet<NSString *> *'}}
173 ip = [NSSet alloc]; // expected-warning{{from 'NSSet *'}}
174 …ip = [MutableSetOfArrays<NSString *> alloc]; // expected-warning{{from 'MutableSetOfArrays<NSStrin…
175 ip = [MutableSetOfArrays alloc]; // expected-warning{{from 'MutableSetOfArrays *'}}
176 ip = [NSArray<NSString *> array]; // expected-warning{{from 'NSArray<NSString *> *'}}
177 ip = [NSArray<NSString *><NSCopying> array]; // expected-warning{{from 'NSArray<NSString *> *'}}
179 …ip = [[NSMutableArray<NSString *> alloc] init]; // expected-warning{{from 'NSMutableArray<NSStrin…
183 …[[NSMutableArray<NSNumber *> alloc] initWithArray: stringArray]; // expected-warning{{sending 'NSA…
185 ip = [[[NSViewController alloc] init] view]; // expected-warning{{from '__kindof NSView *'}}
189 NSNumber *number = kindofStringArray[0]; // expected-warning{{of type '__kindof NSString *'}}
203 [mutStringSet addObject: window]; // expected-warning{{parameter of type 'NSString *'}}
204 [widgetSet addObject: window]; // expected-warning{{parameter of type 'Widget *'}}
205 …[untypedMutSet addObject: window]; // expected-warning{{parameter of incompatible type 'id<NSCopyi…
206 …[mutStringArraySet addObject: window]; // expected-warning{{parameter of type 'NSArray<NSString *>…
207 [mutSet addObject: window]; // expected-warning{{parameter of incompatible type 'id<NSCopying>'}}
208 …[mutArraySet addObject: window]; // expected-warning{{parameter of incompatible type 'id<NSCopying…
209 [typedefTypeParam test: window]; // expected-warning{{parameter of type 'NSString *'}}
210 [block addObject: window]; // expected-warning{{parameter of incompatible type 'id<NSCopying>'}}
227 ip = stringSet.allObjects; // expected-warning{{from 'NSArray<NSString *> *'}}
228 ip = mutStringSet.allObjects; // expected-warning{{from 'NSArray<NSString *> *'}}
229 ip = widgetSet.allObjects; // expected-warning{{from 'NSArray<Widget *> *'}}
230 ip = untypedMutSet.allObjects; // expected-warning{{from 'NSArray *'}}
231 ip = mutStringArraySet.allObjects; // expected-warning{{from 'NSArray<NSArray<NSString *> *> *'}}
232 ip = set.allObjects; // expected-warning{{from 'NSArray *'}}
233 ip = mutSet.allObjects; // expected-warning{{from 'NSArray *'}}
234 ip = mutArraySet.allObjects; // expected-warning{{from 'NSArray *'}}
236 ip = mutDict.someRandomKey; // expected-warning{{from '__kindof id<NSCopying>'}}
238 ip = [[NSViewController alloc] init].view; // expected-warning{{from '__kindof NSView *'}}
251 mutStringSet.allObjects = ip; // expected-warning{{to 'NSArray<NSString *> *'}}
252 widgetSet.allObjects = ip; // expected-warning{{to 'NSArray<Widget *> *'}}
253 untypedMutSet.allObjects = ip; // expected-warning{{to 'NSArray *'}}
254 mutStringArraySet.allObjects = ip; // expected-warning{{to 'NSArray<NSArray<NSString *> *> *'}}
255 mutSet.allObjects = ip; // expected-warning{{to 'NSArray *'}}
256 mutArraySet.allObjects = ip; // expected-warning{{to 'NSArray *'}}
258 mutDict.someRandomKey = ip; // expected-warning{{to 'id<NSCopying>'}}
278 ip = stringArray[0]; // expected-warning{{from 'NSString *'}}
280 ip = mutStringArray[0]; // expected-warning{{from 'NSString *'}}
281 mutStringArray[0] = ip; // expected-warning{{parameter of type 'NSString *'}}
283 ip = array[0]; // expected-warning{{from 'id'}}
285 ip = mutArray[0]; // expected-warning{{from 'id'}}
286 mutArray[0] = ip; // expected-warning{{parameter of type 'id'}}
288 ip = stringWidgetDict[string]; // expected-warning{{from 'Widget *'}}
289 widget = stringWidgetDict[widget]; // expected-warning{{to parameter of type 'NSString *'}}
291 ip = mutStringWidgetDict[string]; // expected-warning{{from 'Widget *'}}
292 widget = mutStringWidgetDict[widget]; // expected-warning{{to parameter of type 'NSString *'}}
293 mutStringWidgetDict[string] = ip; // expected-warning{{to parameter of type 'Widget *'}}
294 mutStringWidgetDict[widget] = widget; // expected-warning{{to parameter of type 'NSString *'}}
296 ip = dict[string]; // expected-warning{{from 'id'}}
298 ip = mutDict[string]; // expected-warning{{from 'id'}}
299 mutDict[string] = ip; // expected-warning{{to parameter of type 'id'}}
302 mutDict[window] = widget; // expected-warning{{parameter of incompatible type 'id<NSCopying>'}}
312 ip = stringArray->data; // expected-warning{{from 'NSString **'}}
313 ip = array->data; // expected-warning{{from 'id *'}}
320 ip = data; // expected-warning{{from 'Window **'}}
339 …stringArray = numberArray; // expected-warning{{incompatible pointer types assigning to 'NSArray<N…
345 …numberArray = mutStringArray; // expected-warning{{incompatible pointer types assigning to 'NSArra…
369 …covariant2 = covariant1; // expected-warning{{incompatible pointer types assigning to 'NSCovariant…
372 …covariant4 = covariant3; // expected-warning{{incompatible pointer types assigning to 'NSCovariant…
380 …contravariant1 = contravariant2; // expected-warning{{incompatible pointer types assigning to 'NSC…
397 ip = cond ? stringArray : mutStringArray; // expected-warning{{from 'NSArray<NSString *> *'}}
398 ip = cond ? mutStringArray : stringArray; // expected-warning{{from 'NSArray<NSString *> *'}}
400 ip = cond ? stringArray2 : mutStringArray; // expected-warning{{from 'NSArray<NSString *> *'}}
401 ip = cond ? mutStringArray : stringArray2; // expected-warning{{from 'NSArray<NSString *> *'}}
403 ip = cond ? stringArray : mutArray; // expected-warning{{from 'NSArray *'}}
405 ip = cond ? stringArray2 : mutArray; // expected-warning{{from 'NSArray *'}}
407 ip = cond ? mutArray : stringArray; // expected-warning{{from 'NSArray *'}}
409 ip = cond ? mutArray : stringArray2; // expected-warning{{from 'NSArray *'}}
411 …object = cond ? stringArray : numberArray; // expected-warning{{incompatible operand types ('NSArr…
420 ip = super.lastObject; // expected-warning{{from 'NSString *'}}
421 super.lastObject = ip; // expected-warning{{to 'NSString *'}}
422 ip = [super objectAtIndexedSubscript:0]; // expected-warning{{from 'NSString *'}}
427 ip = super.array; // expected-warning{{from 'NSArray<NSString *> *'}}
428 super.array = ip; // expected-warning{{to 'NSArray<NSString *> *'}}
429 ip = [super array]; // expected-warning{{from 'NSArray<NSString *> *'}}
434 // warning about likely protocol/class name typos.
436 typedef NSArray<NSObject> ArrayOfNSObjectWarning; // expected-warning{{parameterized class 'NSArray…
447 …stringsByString[n1] = n2; // expected-warning{{incompatible pointer types sending 'NSNumber *' to …
448 …// expected-warning{{incompatible pointer types sending 'NSNumber *' to parameter of type 'NSStrin…
462 - (int)test2:(id)key{ // expected-warning{{conflicting return type in implementation}}
467 - (void)mapUsingBlock2:(id)block { // expected-warning{{conflicting parameter types in implementati…