Home
last modified time | relevance | path

Searched refs:addObject (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/nssetsynth/
H A Dmain.m10 [mutable addObject:@1];
11 [mutable addObject:@2];
12 [mutable addObject:@3];
13 [mutable addObject:@4];
14 [mutable addObject:@5];
15 [mutable addObject:[NSURL URLWithString:@"www.apple.com"]];
16 [mutable addObject:@[@1,@2,@3]];
20 [mutable addObject:@1];
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dcircular-container.m9 - (void)addObject:(id)object;
26 - (void)addObject:(id)object;
36 - (void)addObject:(id)object;
65 …[a addObject:a]; // expected-warning {{adding 'a' to 'a' might cause circular dependency in contai…
73 …[s addObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in contai…
77 …[s addObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in contai…
81 …[s addObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in contai…
87 …[a addObject:a]; // expected-warning {{adding 'a' to 'a' might cause circular dependency in contai…
95 …[s addObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in contai…
155 [super addObject:nil]; // no-warning
[all …]
H A Dproperty-6.m42 - (void)addObject:(id)anObject;
66 [plugInPaths addObject:frameworkBundle.bundlePath];
H A Dparameterized_classes_subst.m52 - (void)addObject:(U)object; // expected-note 7{{passing argument to parameter 'object' here}}
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…
210 [block addObject: window]; // expected-warning{{parameter of incompatible type 'id<NSCopying>'}}
H A Dclass-unavail-warning.m13 + (void)addObject:(id)anObject;
37 [MyClass addObject:((void *)0)]; // expected-error {{'MyClass' is unavailable: not available}}
H A Dweak-attr-ivar.m29 @interface NSMutableArray : NSArray - (void)addObject:(id)anObject;
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-objc/
H A Dmain.m411 [newArray addObject:str1];
412 [newArray addObject:str2];
413 [newArray addObject:str3];
414 [newArray addObject:str4];
415 [newArray addObject:str5];
416 [newArray addObject:str6];
417 [newArray addObject:str7];
418 [newArray addObject:str8];
419 [newArray addObject:str9];
420 [newArray addObject:str10];
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/nsarraysynth/
H A Dmain.m10 [arr addObject:@"hello"];
11 [arr addObject:@"world"];
12 [arr addObject:@"this"];
13 [arr addObject:@"is"];
14 [arr addObject:@"me"];
15 [arr addObject:[NSURL URLWithString:@"http://www.apple.com/"]];
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dinfinite-loop.mm10 -(void)addObject: (id)anObject;
54 [arr addObject: [[I alloc] init]];
62 [arr addObject: [[I alloc] init]];
71 [arr addObject: [[I alloc] init]];
79 [arr addObject: [[I alloc] init]];
88 -(void)addObject: (id)anObject;
98 [self addObject: [[I alloc] init]];
105 [self addObject: [[I alloc] init]];
115 [arr addObject: [[I alloc] init]];
123 [arr addObject: [[I alloc] init]];
/llvm-project-15.0.7/clang/test/Analysis/
H A Dgenerics.m54 - (void)addObject:(ObjectType)anObject;
59 - (void)addObject:(ObjectType)anObject;
154 [m addObject: [[NSMutableString alloc] init]];
165 [a addObject: [[NSString alloc] init]]; // no-warning
180 [a addObject: [[NSSet alloc] init]]; // no-warning
181 [b addObject: [[NSMutableString alloc] init]]; //no-warning
294 [m addObject: [[NSMutableString alloc] init]];
304 [a addObject: [[NSMutableString alloc] init]];
338 [b addObject: [[NSNumber alloc] init]];
340 [c addObject: [[NSNumber alloc] init]];
[all …]
H A Drefcnt_naming.m33 - (void)addObject:(id) __attribute__((ns_consumed)) X;
48 [self addObject:url];
73 - (void)addObject:(id)X
H A DNSPanel.m39 - (void)addObject:(id)anObject;
77 [panels addObject:panel];
85 [panels addObject:panel];
H A DNSContainers.m59 - (void)addObject:(id)anObject;
117 …[marray addObject:0]; // expected-warning {{Argument to 'NSMutableArray' method 'addObject:' canno…
291 - (void)addObject:(id)obj safe:(BOOL)safe;
295 [arr addObject:0 safe:1]; // no-warning
306 [array addObject:0]; // no-warning
313 [subviews addObject:view]; // no-warning
H A Dobjc-for.m43 - (void)addObject:(id)obj;
276 [other addObject:dict];
295 [array addObject:@""];
307 [other addObject:array];
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dobjc-ivar-receiver-1.m5 - (void)addObject:(id)addObject;
21 [newInv->_container addObject:0];
H A Dobjc-modern-ivar-receiver-1.mm7 - (void)addObject:(id)addObject;
23 [newInv->_container addObject:0];
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dgetter-property-type-mismatch.m7 - (void) addObject; method
27 [self.arrayOfThings addObject];
H A Dparameterized_classes.m24 - (void)addObject:(T)object;
39 void addObject(NSMutableArray<NSString *> *array, NSString *obj) { function
40 [array addObject: obj];
65 [array addObject: ^ { printMe(name); }];
/llvm-project-15.0.7/clang/test/ARCMT/
H A DCommon.h61 + (void)addObject:(id)anObject;
63 - (void)addObject:(id)anObject;
H A Datautorelease-check.m59 + (void)addObject:(id)anObject;
61 - (void)addObject:(id)anObject;
/llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/
H A Dtestfilerunner.m258 if (item) [lines addObject:item];
260 if (item) [lines addObject:item];
262 if (item) [lines addObject:item];
264 if (item) [lines addObject:item];
688 if (generator) [generators addObject:generator];
715 [successes addObject:line];
718 [failureToFailToCompile addObject:line];
723 [successes addObject:line];
726 [failureToRun addObject:line];
730 [failureToCompile addObject:line];
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dparameterized_classes_subst.mm48 - (void)addObject:(U)object; // expected-note 7{{passing argument to parameter 'object' here}}
146 [mutStringSet addObject: window]; // expected-error{{parameter of type 'NSString *'}}
147 [widgetSet addObject: window]; // expected-error{{parameter of type 'Widget *'}}
148 [untypedMutSet addObject: window]; // expected-error{{parameter of type 'id<NSCopying>'}}
149 …[mutStringArraySet addObject: window]; // expected-error{{parameter of type 'NSArray<NSString *> *…
150 [mutSet addObject: window]; // expected-error{{parameter of type 'id<NSCopying>'}}
151 [mutArraySet addObject: window]; // expected-error{{parameter of type 'id<NSCopying>'}}
152 [block addObject: window]; // expected-error{{parameter of type 'id<NSCopying>'}}
/llvm-project-15.0.7/lldb/test/API/commands/expression/two-files/
H A Dfoo.m17 [GetArray() addObject: element];
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSafeStackLayout.h59 void addObject(const Value *V, unsigned Size, Align Alignment,
H A DSafeStackLayout.cpp39 void StackLayout::addObject(const Value *V, unsigned Size, Align Alignment, in addObject() function in StackLayout

12