/external/clang/test/ARCMT/designated-init-in-header/ |
header1.h.result | 6 -(instancetype)init; 11 +(instancetype)s1; 12 -(instancetype)initWithFoo:(NSString*)foo NS_DESIGNATED_INITIALIZER;
|
file2.m.in.result | 6 +(instancetype)s1 { return 0; } 7 -(instancetype)initWithFoo:(NSString*)foo
|
designated-init-in-header.m | 1 // RUN: %clang_cc1 -objcmt-migrate-designated-init -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -x objective-c %S/file1.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t1.remap 2 // RUN: %clang_cc1 -objcmt-migrate-designated-init -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -x objective-c %S/file2.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t2.remap
|
/external/clang/test/ARCMT/whitelisted/ |
header1.h.result | 4 +(instancetype)i1;
|
objcmt-with-whitelist-impl.m.result | 2 // RUN: %clang_cc1 -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -objcmt-white-list-dir-path=%S/Inputs %s -triple x86_64-apple-darwin11 -migrate -o %t.remap 17 +(instancetype)i1 {}
|
/external/v8/test/cctest/interpreter/bytecode_expectations/ |
ArrayLiteralsWide.golden | 792 InstanceType::HEAP_NUMBER_TYPE, 793 InstanceType::HEAP_NUMBER_TYPE, 794 InstanceType::HEAP_NUMBER_TYPE, 795 InstanceType::HEAP_NUMBER_TYPE, 796 InstanceType::HEAP_NUMBER_TYPE, 797 InstanceType::HEAP_NUMBER_TYPE, 798 InstanceType::HEAP_NUMBER_TYPE, 799 InstanceType::HEAP_NUMBER_TYPE, 800 InstanceType::HEAP_NUMBER_TYPE, 801 InstanceType::HEAP_NUMBER_TYPE [all...] |
LookupSlotWideInEval.golden | 801 InstanceType::HEAP_NUMBER_TYPE, 802 InstanceType::HEAP_NUMBER_TYPE, 803 InstanceType::HEAP_NUMBER_TYPE, 804 InstanceType::HEAP_NUMBER_TYPE, 805 InstanceType::HEAP_NUMBER_TYPE, 806 InstanceType::HEAP_NUMBER_TYPE, 807 InstanceType::HEAP_NUMBER_TYPE, 808 InstanceType::HEAP_NUMBER_TYPE, 809 InstanceType::HEAP_NUMBER_TYPE, 810 InstanceType::HEAP_NUMBER_TYPE [all...] |
ObjectLiteralsWide.golden | 793 InstanceType::HEAP_NUMBER_TYPE, 794 InstanceType::HEAP_NUMBER_TYPE, 795 InstanceType::HEAP_NUMBER_TYPE, 796 InstanceType::HEAP_NUMBER_TYPE, 797 InstanceType::HEAP_NUMBER_TYPE, 798 InstanceType::HEAP_NUMBER_TYPE, 799 InstanceType::HEAP_NUMBER_TYPE, 800 InstanceType::HEAP_NUMBER_TYPE, 801 InstanceType::HEAP_NUMBER_TYPE, 802 InstanceType::HEAP_NUMBER_TYPE [all...] |
RegExpLiteralsWide.golden | 792 InstanceType::HEAP_NUMBER_TYPE, 793 InstanceType::HEAP_NUMBER_TYPE, 794 InstanceType::HEAP_NUMBER_TYPE, 795 InstanceType::HEAP_NUMBER_TYPE, 796 InstanceType::HEAP_NUMBER_TYPE, 797 InstanceType::HEAP_NUMBER_TYPE, 798 InstanceType::HEAP_NUMBER_TYPE, 799 InstanceType::HEAP_NUMBER_TYPE, 800 InstanceType::HEAP_NUMBER_TYPE, 801 InstanceType::HEAP_NUMBER_TYPE [all...] |
ObjectLiterals.golden | 24 InstanceType::FIXED_ARRAY_TYPE, 43 InstanceType::FIXED_ARRAY_TYPE, 67 InstanceType::FIXED_ARRAY_TYPE, 68 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 93 InstanceType::FIXED_ARRAY_TYPE, 94 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 116 InstanceType::FIXED_ARRAY_TYPE, 117 InstanceType::SHARED_FUNCTION_INFO_TYPE, 118 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 140 InstanceType::FIXED_ARRAY_TYPE [all...] |
TopLevelObjectLiterals.golden | 39 InstanceType::FIXED_ARRAY_TYPE, 40 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 41 InstanceType::FIXED_ARRAY_TYPE, 42 InstanceType::SHARED_FUNCTION_INFO_TYPE, 43 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
ClassDeclarations.golden | 54 InstanceType::SHARED_FUNCTION_INFO_TYPE, 55 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 56 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 57 InstanceType::SHARED_FUNCTION_INFO_TYPE, 106 InstanceType::SHARED_FUNCTION_INFO_TYPE, 107 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 108 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 109 InstanceType::SHARED_FUNCTION_INFO_TYPE, 180 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 181 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE [all...] |
ArrayLiterals.golden | 23 InstanceType::FIXED_ARRAY_TYPE, 54 InstanceType::FIXED_ARRAY_TYPE, 72 InstanceType::FIXED_ARRAY_TYPE, 115 InstanceType::FIXED_ARRAY_TYPE, 116 InstanceType::FIXED_ARRAY_TYPE, 117 InstanceType::FIXED_ARRAY_TYPE,
|
DeclareGlobals.golden | 36 InstanceType::FIXED_ARRAY_TYPE, 37 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 60 InstanceType::FIXED_ARRAY_TYPE, 93 InstanceType::FIXED_ARRAY_TYPE, 94 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 121 InstanceType::FIXED_ARRAY_TYPE,
|
WithStatement.golden | 31 InstanceType::FIXED_ARRAY_TYPE, 32 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
/external/clang/test/ARCMT/ |
objcmt-instancetype.m.result | 2 // RUN: %clang_cc1 -objcmt-migrate-instancetype -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 14 + (instancetype)stringWithString:(NSString *)string; 15 - (instancetype)initWithString:(NSString *)aString; 19 + (instancetype)stringWithString:(NSString *)string { return 0; }; 20 - (instancetype)initWithString:(NSString *)aString { return 0; }; 29 + (instancetype)array; 30 + (instancetype)arrayWithObject:(id)anObject; 31 + (instancetype)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 32 + (instancetype)arrayWithObjects:(id)firstObj, ...; 33 + (instancetype) arrayWithArray:(NSArray *)array [all...] |
objcmt-instancetype-unnecessary-diff.m | 1 // RUN: %clang_cc1 -objcmt-migrate-instancetype %s -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t.remap 5 // CHECK-NOT: instancetype 9 +(instancetype) dictionaryWithURLEncodedString:(NSString *)urlEncodedString;
|
objcmt-instancetype-2.m.result | 2 // RUN: %clang_cc1 -objcmt-migrate-instancetype -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 31 + (instancetype)URLWithString:(NSString *)URLString; 32 + (instancetype)URLWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL; 33 + (instancetype)URLByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL *)relativeURL bookmarkDataIsStale:(BOOL *)isStale error:(NSError **)error __attribute__((availability(macosx,introduced=10.6))); 38 + (instancetype)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict; 43 + (instancetype)stringWithCapacity:(NSUInteger)capacity; 47 + (instancetype)dataWithCapacity:(NSUInteger)aNumItems; 48 + (instancetype)dataWithLength:(NSUInteger)length; 54 + (instancetype )dictionaryWithSharedKeySet:(id)keyset __attribute__((availability(macosx,introduced=10.8))); 58 + (instancetype)protocolCheckerWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol [all...] |
/external/v8/tools/gyp/test/ios/framework/iOSFramework/ |
Thing.h | 6 + (instancetype)thing;
|
Thing.m | 9 + (instancetype)thing {
|
/external/clang/test/Rewriter/ |
instancetype-test.mm | 9 + (instancetype)alloc; 10 - (instancetype)init; // expected-note{{overridden method is part of the 'init' method family}} 11 - (instancetype)self; 15 - (instancetype)selfProp; 20 - (instancetype)methodInProto1; 25 - (instancetype)methodInProto2; // expected-note{{overridden method returns an instance of its class type}} 26 - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its class type}} 30 - (instancetype)initSubclass1; 32 + (instancetype)allocSubclass1; 36 - (instancetype)initSubclass2 [all...] |
/external/clang/test/SemaObjC/ |
instancetype.m | 4 # error Missing 'instancetype' feature macro. 8 + (instancetype)alloc; // expected-note {{explicitly declared 'instancetype'}} 9 - (instancetype)init; // expected-note{{overridden method is part of the 'init' method family}} 10 - (instancetype)self; // expected-note {{explicitly declared 'instancetype'}} 14 - (instancetype)selfProp; 19 - (instancetype)methodInProto1; 24 - (instancetype)methodInProto2; // expected-note{{overridden method returns an instance of its class type}} 25 - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its class type} [all...] |
/external/clang/test/SemaObjCXX/ |
instancetype.mm | 4 # error Missing 'instancetype' feature macro. 8 + (instancetype)alloc; 9 - (instancetype)init; // expected-note{{overridden method is part of the 'init' method family}} 10 - (instancetype)self; // expected-note {{explicitly declared 'instancetype'}} 14 - (instancetype)selfProp; 19 - (instancetype)methodInProto1; 24 - (instancetype)methodInProto2; // expected-note{{overridden method returns an instance of its class type}} 25 - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its class type}} 29 - (instancetype)initSubclass1 [all...] |
/external/clang/test/SemaObjCXX/Inputs/ |
nullability-consistency-7.h | 35 - (instancetype)init; // expected-warning{{pointer is missing a nullability type specifier}} 36 - (instancetype)initWithA:( A*)a __attribute__((objc_designated_initializer)); // expected-warning 2{{pointer is missing a nullability type specifier}}
|
/external/webrtc/webrtc/api/objc/ |
RTCMediaConstraints.h | 17 - (instancetype)init NS_UNAVAILABLE; 20 - (instancetype)initWithMandatoryConstraints:
|