/external/clang/test/CodeGenObjC/ |
local-static-block.m | 5 @class NSArray; 7 static NSArray *(^ArrayRecurs)(NSArray *addresses, unsigned long level) = ^(NSArray *addresses, unsigned long level) { 11 NSArray *separatedAddresses = ((NSArray*)0); 12 separatedAddresses = ArrayRecurs((NSArray *)rawAddress, level+1); 14 return (NSArray *)0; 17 extern NSArray *address; 24 static NSArray *(^ArrayRecurs)(NSArray *addresses, unsigned long level) = ^(NSArray *addresses, unsigned long lev (…) [all...] |
for-in.m | 5 @interface NSArray 6 +(NSArray*) arrayWithObjects: (id) first, ...; 22 NSArray *array = [NSArray arrayWithObjects: L1(0), (void*)0]; 26 for (NSString *i in array) { // expected-warning {{collection expression type 'NSArray *' may not respond}} 32 NSArray *array = [NSArray arrayWithObjects: L6(0), (void*)0]; 36 for (NSString *i in array) { // expected-warning {{collection expression type 'NSArray *' may not respond}} 47 void t2(NSArray *array) { 48 for (NSArray *array in array) { // expected-warning {{collection expression type 'NSArray *' may not respond} [all...] |
getter-property-type-mismatch.m | 4 @interface NSArray @end 6 @interface NSMutableArray : NSArray 12 - (NSArray *)arrayOfThings;
|
extended-block-signature-encode.m | 5 @class NSString, NSArray; 7 typedef NSString*(^BBB)(NSArray*); 14 // CHECK: @{{.*}} = private unnamed_addr constant [64 x i8] c"@?<@\22NSString\22@?@\22NSArray\22>24@?0@?<@\22NSString\22@?@\22NSArray\22>8d16\00"
|
/external/clang/test/SemaObjC/ |
arc-setter-property-match.m | 5 @class NSArray; 9 NSArray *_names1; 10 NSArray *_names2; 11 NSArray *_names3; 12 NSArray *_names4; 14 @property (readwrite, strong) NSArray *names1; // <-- warning: Type of property.... 15 - (void)setNames1:(NSArray *)names; 16 @property (readwrite, strong) __strong NSArray *names2; // <-- warning: Type of property.... 17 - (void)setNames2:(NSArray *)names; 18 @property (readwrite, strong) __strong NSArray *names3; // <-- O [all...] |
invalid-typename.m | 3 @class NSString, NSArray; 8 syncModes:(bycopy NSArray /* ISDSyncState */ *)syncModes 9 entities:(bycopy NSArray /* ISDEntity */ *)entities
|
narrow-property-type-in-cont-class.m | 5 @interface NSArray @end 7 @interface NSMutableArray : NSArray 11 @property(nonatomic,readonly,retain) NSArray* outline; 17 @property(nonatomic,readwrite,retain) NSArray* err_outline; // expected-error {{type of property 'NSArray *' in class extension does not match property type in primary class}}
|
conditional-expr-7.m | 7 @interface NSArray : Super @end 18 @interface NSArray() <MyProtocol2> 25 NSArray *array = (void*)0;
|
property-choose-expr.m | 4 @interface NSArray 9 char* f(NSArray *array) {
|
objc-array-literal.m | 14 id arr = @[obj]; // expected-error {{definition of class NSArray must be available to use Objective-C array literals}} 17 @class NSArray; // expected-note {{forward declaration of class here}} 21 id arr = @[obj]; // expected-error {{definition of class NSArray must be available to use Objective-C array literals}} 40 @interface NSArray <NSFastEnumeration> 46 NSArray *array = @[@"Hello", @"There", @"How Are You", [NSNumber numberWithInt:42]]; 51 NSArray *array1 = @["Forgot"]; // expected-error {{string literal must be prefixed by '@' in a collection}} 54 NSArray *array2 = @[blah]; // expected-error{{collection element of type 'const char *' is not an Objective-C object}} 60 return @[ @"A", @"B" @"C"]; // expected-warning {{concatenated NSString literal for an NSArray expression - possibly missing a comma}} 67 x = @[ @"stuff", @"hello" "world"]; // expected-warning {{concatenated NSString literal for an NSArray expression}}
|
/external/clang/test/CodeGenObjCXX/ |
refence-assign-write-barrier.mm | 4 @interface NSArray 5 - (NSArray*) retain; 9 void NSAssignArray(NSArray*& target, NSArray* newValue) 14 NSArray* oldValue = target;
|
/external/clang/test/Rewriter/ |
rewrite-foreach-7.m | 3 @class NSArray; 5 NSArray *foo;
|
rewrite-implementation.mm | 14 @interface NSArray @end 15 @class NSArray; 16 @implementation NSArray @end
|
rewrite-modern-array-literal.mm | 15 @interface NSArray 21 NSArray *array = @[ @"Hello", @1234 ]; 23 NSArray *array = @[ @"Hello", @1234 ]; 25 NSArray *array1 = @[ @"Hello", @1234, @[ @"Hello", @1234 ] ];
|
/external/clang/test/FixIt/ |
fixit-static-object-decl.m | 14 @interface NSArray 22 NSArray func() { 23 NSArray P; 27 NSArray (func2)() { return 0; } 31 auto l1 = [] () -> NSArray { return 0; }; 36 NSArray pluginNames = [NSArray arrayWithObjects];
|
/external/llvm/test/CodeGen/X86/ |
2008-04-15-LiveVariableBug.ll | 6 %struct.NSArray = type { %struct.NSObject } 8 %struct.NSDockTile = type { %struct.NSObject, %struct.NSObject*, i8*, %struct.NSView*, %struct.NSView*, %struct.NSView*, %struct.NSArray*, %struct._SPFlags, %struct.CGPoint, [5 x %struct.NSObject*] } 9 %struct.NSDocument = type { %struct.NSObject, %struct.NSWindow*, %struct.NSObject*, %struct.NSURL*, %struct.NSArray*, %struct.NSPrintInfo*, i64, %struct.NSView*, %struct.NSObject*, %struct.NSObject*, %struct.NSUndoManager*, %struct._BCFlags2, %struct.NSArray* } 10 %struct.AA = type { %struct.NSObject, %struct.NSDocument*, %struct.NSURL*, %struct.NSArray*, %struct.NSArray* } 11 %struct.NSError = type { %struct.NSObject, i8*, i64, %struct.NSArray*, %struct.NSArray* } 12 %struct.NSImage = type { %struct.NSObject, %struct.NSArray*, %struct.CGPoint, %struct._BCFlags2, %struct.NSObject*, %struct._NSImageAuxiliary* } 13 %struct.NSMutableArray = type { %struct.NSArray } [all...] |
/external/clang/test/ARCMT/ |
objcmt-subscripting-literals-in-arc.m | 23 @interface NSArray : NSObject 27 @interface NSArray (NSExtendedArray) 31 @interface NSArray (NSArrayCreation) 36 + (id)arrayWithArray:(NSArray *)array; 40 - (id)initWithArray:(NSArray *)array; 43 @interface NSMutableArray : NSArray 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys [all...] |
objcmt-subscripting-literals.m | 23 @interface NSArray : NSObject 27 @interface NSArray (NSExtendedArray) 31 @interface NSArray (NSArrayCreation) 36 + (id)arrayWithArray:(NSArray *)array; 40 - (id)initWithArray:(NSArray *)array; 43 @interface NSMutableArray : NSArray 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys [all...] |
objcmt-subscripting-unavailable.m.result | 13 @interface NSArray : NSObject 17 @interface NSArray (NSArrayCreation) 22 + (id)arrayWithArray:(NSArray *)array; 26 - (id)initWithArray:(NSArray *)array; 29 @interface NSMutableArray : NSArray 42 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 47 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 61 NSArray *arr [all...] |
objcmt-instancetype.m | 23 @interface NSArray : NSObject 28 @interface NSArray (NSArrayCreation) 33 + arrayWithArray:(NSArray *)array; 37 - (id)initWithArray:(NSArray *)array; 42 @implementation NSArray (NSArrayCreation) 50 + arrayWithArray:(NSArray *)array { 56 - (id)initWithArray:(NSArray *)array { return 0; } 61 @interface NSMutableArray : NSArray 76 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys [all...] |
objcmt-instancetype.m.result | 23 @interface NSArray : NSObject 28 @interface NSArray (NSArrayCreation) 33 + (instancetype) arrayWithArray:(NSArray *)array; 37 - (instancetype)initWithArray:(NSArray *)array; 42 @implementation NSArray (NSArrayCreation) 50 + (instancetype) arrayWithArray:(NSArray *)array { 56 - (instancetype)initWithArray:(NSArray *)array { return 0; } 61 @interface NSMutableArray : NSArray 76 + (instancetype)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys [all...] |
objcmt-subscripting-unavailable.m | 13 @interface NSArray : NSObject 17 @interface NSArray (NSArrayCreation) 22 + (id)arrayWithArray:(NSArray *)array; 26 - (id)initWithArray:(NSArray *)array; 29 @interface NSMutableArray : NSArray 42 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 47 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 61 NSArray *arr [all...] |
objcmt-atomic-property.m | 46 @class NSArray; 50 NSArray *_names1; 51 NSArray *_names2; 52 NSArray *_names3; 53 NSArray *_names4; 55 - (void)setNames1:(NSArray *)names; 56 - (void)setNames4:(__strong NSArray *)names; 57 - (void)setNames3:(__strong NSArray *)names; 58 - (void)setNames2:(NSArray *)names; 59 - (NSArray *) names2 [all...] |
/external/clang/test/Index/ |
invalid-code-rdar10451854.m | 9 - (NSArray *)graphics {
|
/external/llvm/test/CodeGen/PowerPC/ |
2008-03-24-CoalescerBug.ll | 4 %struct.NSArray = type { %struct..0objc_object } 5 %struct.NSMutableArray = type { %struct.NSArray } 8 %struct.VMUSymbolicator = type { %struct..0objc_object, %struct.NSMutableArray*, %struct.NSArray*, %struct.NSArray*, %struct.VMUMachTaskContainer*, i8 } 17 define void @"-[PFTPersistentSymbols saveSymbolWithName:address:path:lineNumber:flags:owner:]"(%struct.PFTPersistentSymbols* %self, %struct.objc_selector* %_cmd, %struct.NSArray* %name, i64 %address, %struct.NSArray* %path, i32 %lineNumber, i64 %flags, %struct..0objc_object* %owner) nounwind { 21 %tmp17 = tail call signext i8 inttoptr (i64 4294901504 to i8 (%struct..0objc_object*, %struct.objc_selector*, %struct.NSArray*)*)( %struct..0objc_object* null, %struct.objc_selector* null, %struct.NSArray* bitcast (%struct.__builtin_CFString* @0 to %struct.NSArray*) ) nounwind ; <i8> [#uses=0]
|