/external/llvm/test/CodeGen/X86/ |
D | 2008-04-15-LiveVariableBug.ll | 6 %struct.NSArray = type { %struct.NSObject } 7 %struct.NSAssertionHandler = type { %struct.NSObject, i8* } 8 …NSObject, %struct.NSObject*, i8*, %struct.NSView*, %struct.NSView*, %struct.NSView*, %struct.NSArr… 9 …NSObject, %struct.NSWindow*, %struct.NSObject*, %struct.NSURL*, %struct.NSArray*, %struct.NSPrintI… 10 …%struct.AA = type { %struct.NSObject, %struct.NSDocument*, %struct.NSURL*, %struct.NSArray*, %stru… 11 %struct.NSError = type { %struct.NSObject, i8*, i64, %struct.NSArray*, %struct.NSArray* } 12 …%struct.NSImage = type { %struct.NSObject, %struct.NSArray*, %struct.CGPoint, %struct._BCFlags2, %… 14 %struct.NSObject = type { %struct.NSObject* } 15 %struct.NSPrintInfo = type { %struct.NSObject, %struct.NSMutableArray*, %struct.NSObject* } 18 %struct.NSResponder = type { %struct.NSObject, %struct.NSObject* } [all …]
|
D | split-eh-lpad-edges.ll | 4 …eader = type { i8*, i8*, i32, i8*, i8*, i8*, i8*, i8*, %struct.NSObject* (%struct.NSObject*, %stru… 5 %struct.NSArray = type { %struct.NSObject } 6 %struct.NSAutoreleasePool = type { %struct.NSObject, i8*, i8*, i8*, i8* } 7 %struct.NSObject = type { %struct.NSObject* } 9 …%struct._message_ref_t = type { %struct.NSObject* (%struct.NSObject*, %struct._message_ref_t*, ...… 13 …lanHeader* %fetchPlan, %struct.objc_selector* %selectionMethod, %struct.NSObject* %selectionParame… 15 …%0 = invoke %struct.NSObject* null(%struct.NSObject* null, %struct._message_ref_t* @"\01l_objc_msg… 16 to label %invcont unwind label %lpad ; <%struct.NSObject*> [#uses=1] 19 …%1 = invoke %struct.NSObject* (%struct.NSObject*, %struct.objc_selector*, ...) @objc_msgSend(%stru… 20 to label %invcont26 unwind label %lpad ; <%struct.NSObject*> [#uses=0] [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | 2008-04-15-LiveVariableBug.ll | 6 %struct.NSArray = type { %struct.NSObject } 7 %struct.NSAssertionHandler = type { %struct.NSObject, i8* } 8 …NSObject, %struct.NSObject*, i8*, %struct.NSView*, %struct.NSView*, %struct.NSView*, %struct.NSArr… 9 …NSObject, %struct.NSWindow*, %struct.NSObject*, %struct.NSURL*, %struct.NSArray*, %struct.NSPrintI… 10 …%struct.AA = type { %struct.NSObject, %struct.NSDocument*, %struct.NSURL*, %struct.NSArray*, %stru… 11 %struct.NSError = type { %struct.NSObject, i8*, i64, %struct.NSArray*, %struct.NSArray* } 12 …%struct.NSImage = type { %struct.NSObject, %struct.NSArray*, %struct.CGPoint, %struct._BCFlags2, %… 14 %struct.NSObject = type { %struct.NSObject* } 15 %struct.NSPrintInfo = type { %struct.NSObject, %struct.NSMutableArray*, %struct.NSObject* } 18 %struct.NSResponder = type { %struct.NSObject, %struct.NSObject* } [all …]
|
D | split-eh-lpad-edges.ll | 5 …eader = type { i8*, i8*, i32, i8*, i8*, i8*, i8*, i8*, %struct.NSObject* (%struct.NSObject*, %stru… 6 %struct.NSArray = type { %struct.NSObject } 7 %struct.NSAutoreleasePool = type { %struct.NSObject, i8*, i8*, i8*, i8* } 8 %struct.NSObject = type { %struct.NSObject* } 10 …%struct._message_ref_t = type { %struct.NSObject* (%struct.NSObject*, %struct._message_ref_t*, ...… 14 …lanHeader* %fetchPlan, %struct.objc_selector* %selectionMethod, %struct.NSObject* %selectionParame… 46 …%0 = invoke %struct.NSObject* null(%struct.NSObject* null, %struct._message_ref_t* @"\01l_objc_msg… 47 to label %invcont unwind label %lpad ; <%struct.NSObject*> [#uses=1] 50 …%1 = invoke %struct.NSObject* (%struct.NSObject*, %struct.objc_selector*, ...) @objc_msgSend(%stru… 51 to label %invcont26 unwind label %lpad ; <%struct.NSObject*> [#uses=0] [all …]
|
/external/clang/test/SemaObjC/ |
D | parameterized_classes.m | 11 @protocol NSObject // expected-note{{'NSObject' declared here}} protocol 18 @interface NSObject <NSObject> // expected-note{{'NSObject' defined here}} interface 21 @interface NSString : NSObject <NSCopying> 29 @interface PC1<T, U : NSObject*> : NSObject // expected-note{{'PC1' declared here}} 36 @interface PC2<T : id<NSObject>> : NSObject 40 @interface PC3<T, U : id> : NSObject 44 @interface PC4<T, U, V> : NSObject // expected-note 2{{'PC4' declared here}} 53 T> : NSObject // expected-error{{redeclaration of type parameter 'T'}} 61 @interface PC8<T> : NSObject <NSObject> 66 …U : NSString> : NSObject // expected-error{{missing '*' in type bound 'NSString' for type paramete… [all …]
|
D | property-in-class-extension.m | 16 @class NSObject; 20 NSObject *_bar; 21 NSObject *_baz; 22 NSObject *_bam; 24 - (NSObject *)baz; 28 - (NSObject *)bar; category 32 @property (readwrite, assign) NSObject *bar; 33 @property (readwrite, assign) NSObject *baz; 34 @property (readwrite, assign) NSObject *bam; 35 @property (readwrite, assign) NSObject *warn; [all …]
|
D | comptypes-10.m | 10 @interface NSObject <NSCopying, NSPROTO, NSPROTO1> { interface 15 void gorf(NSObject <NSCopying> *); // expected-note {{passing argument to parameter here}} 17 NSObject <NSCopying> *foo(id <NSCopying> bar, id id_obj) 19 …NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with … 20 …NSObject *Init1 = bar; // expected-warning {{initializing 'NSObject *' with an expression of incom… 22 NSObject <NSCopying> *I = id_obj; 23 NSObject *I1 = id_obj; 24 …ected-warning {{passing 'id<NSCopying>' to parameter of incompatible type 'NSObject<NSCopying> *'}} 28 …{returning 'id<NSCopying>' from a function with incompatible result type 'NSObject<NSCopying> *'}} 33 …NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with … [all …]
|
D | block-type-safety.m | 25 @protocol NSObject; protocol in id 26 @class NSObject; 28 void r2 (id<NSObject> (^f) (void)) { 44 r2(^id<NSObject>() { return 0; }); 65 f1(^(id<NSObject> a) { }); // OK 183 id<NSObject> anQualId1 = aBlock; // Ok 184 id<NSObject, NSCopying> anQualId2 = aBlock; // Ok 185 id<NSObject, NSCopying, NSObject, NSCopying> anQualId3 = aBlock; // Ok 187 …id<NSObject, P1, NSCopying> anQualId5 = aBlock; // expected-error {{initializing 'id<NSObject,P1,N… 193 NSObject *NSO = aBlock; // Ok [all …]
|
D | nsobject-attribute.m | 3 typedef struct CGColor * __attribute__ ((NSObject)) CGColorRef; 4 typedef struct CGColor * __attribute__((NSObject(12))) Illegal; // expected-error {{'NSObject' att… 9 typedef struct S1 __attribute__ ((NSObject)) CGColorRef1; // expected-error {{'NSObject' attribute… 10 typedef void * __attribute__ ((NSObject)) CGColorRef2; // no-warning 20 typedef struct CGColor * __attribute__((NSObject)) CGColorRefNoNSObject; // no-warning category 23 @property (strong) __attribute__((NSObject)) CFTypeRef myObj; // no-warning 51 …__attribute__((NSObject)) void * color; // expected-warning {{'NSObject' attribute may be put on a… 54 @property (nonatomic, retain) __attribute__((NSObject)) CGColorRefNoNSObject color; // // no-warning 57 …char* __attribute__((NSObject)) string2 = 0; // expected-warning {{'NSObject' attribute may be put… 62 @property(retain) __attribute__((NSObject)) int i; // expected-error {{'NSObject' attribute is for …
|
D | comptypes-legal.m | 3 @protocol NSObject protocol 5 @interface NSObject <NSObject> { interface 8 @interface NSString : NSObject 10 void __setRetained(id *ivar, id value, NSObject **o) { 17 @implementation NSObject (ScopeAdditions) implementation in ScopeAdditions 25 NSObject *ExternFunc (NSObject *filePath, NSObject *key); 26 typedef id FuncSignature (NSObject *arg1, Derived *arg2); 28 @interface Derived: NSObject 36 …]; // expected-warning{{incompatible pointer types sending 'NSObject *(NSObject *, NSObject *)' t…
|
/external/llvm-project/clang/test/SemaObjC/ |
D | parameterized_classes.m | 11 @protocol NSObject // expected-note{{'NSObject' declared here}} protocol 18 @interface NSObject <NSObject> // expected-note{{'NSObject' defined here}} interface 21 @interface NSString : NSObject <NSCopying> 29 @interface PC1<T, U : NSObject*> : NSObject // expected-note{{'PC1' declared here}} 36 @interface PC2<T : id<NSObject>> : NSObject 40 @interface PC3<T, U : id> : NSObject 44 @interface PC4<T, U, V> : NSObject // expected-note 2{{'PC4' declared here}} 53 T> : NSObject // expected-error{{redeclaration of type parameter 'T'}} 61 @interface PC8<T> : NSObject <NSObject> 66 …U : NSString> : NSObject // expected-error{{missing '*' in type bound 'NSString' for type paramete… [all …]
|
D | property-in-class-extension.m | 16 @class NSObject; 20 NSObject *_bar; 21 NSObject *_baz; 22 NSObject *_bam; 24 - (NSObject *)baz; 28 - (NSObject *)bar; category 32 @property (readwrite, assign) NSObject *bar; 33 @property (readwrite, assign) NSObject *baz; 34 @property (readwrite, assign) NSObject *bam; 35 @property (readwrite, assign) NSObject *warn; [all …]
|
D | comptypes-10.m | 10 @interface NSObject <NSCopying, NSPROTO, NSPROTO1> { interface 15 void gorf(NSObject <NSCopying> *); // expected-note {{passing argument to parameter here}} 17 NSObject <NSCopying> *foo(id <NSCopying> bar, id id_obj) 19 …NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with … 20 …NSObject *Init1 = bar; // expected-warning {{initializing 'NSObject *' with an expression of incom… 22 NSObject <NSCopying> *I = id_obj; 23 NSObject *I1 = id_obj; 24 …ected-warning {{passing 'id<NSCopying>' to parameter of incompatible type 'NSObject<NSCopying> *'}} 28 …{returning 'id<NSCopying>' from a function with incompatible result type 'NSObject<NSCopying> *'}} 33 …NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with … [all …]
|
D | comptypes-legal.m | 3 @protocol NSObject protocol 5 @interface NSObject <NSObject> { interface 8 @interface NSString : NSObject 10 void __setRetained(id *ivar, id value, NSObject **o) { 17 @implementation NSObject (ScopeAdditions) implementation in ScopeAdditions 25 NSObject *ExternFunc (NSObject *filePath, NSObject *key); 26 typedef id FuncSignature (NSObject *arg1, Derived *arg2); 28 @interface Derived: NSObject 36 …tion pointer types sending 'NSObject *(NSObject *, NSObject *)' to parameter of type 'FuncSignatur…
|
D | nsobject-attribute.m | 3 typedef struct CGColor * __attribute__ ((NSObject)) CGColorRef; 4 typedef struct CGColor * __attribute__((NSObject(12))) Illegal; // expected-error {{'NSObject' att… 9 typedef struct S1 __attribute__ ((NSObject)) CGColorRef1; // expected-error {{'NSObject' attribute… 10 typedef void * __attribute__ ((NSObject)) CGColorRef2; // no-warning 20 typedef struct CGColor * __attribute__((NSObject)) CGColorRefNoNSObject; // no-warning category 23 @property (strong) __attribute__((NSObject)) CFTypeRef myObj; // no-warning 53 …__attribute__((NSObject)) void * color; // expected-warning {{'NSObject' attribute may be put on a… 56 @property (nonatomic, retain) __attribute__((NSObject)) CGColorRefNoNSObject color; // // no-warning 59 …char* __attribute__((NSObject)) string2 = 0; // expected-warning {{'NSObject' attribute may be put… 64 @property(retain) __attribute__((NSObject)) int i; // expected-error {{'NSObject' attribute is for …
|
/external/llvm-project/clang/test/Analysis/ |
D | DeallocMissingRelease.m | 22 @interface MyIvarClass1 : NSObject { 23 NSObject *_ivar; 28 - (instancetype)initWithIvar:(NSObject *)ivar 46 @interface MyIvarClass2 : NSObject { 47 NSObject *_ivar; 49 - (NSObject *)ivar; 50 - (void)setIvar:(NSObject *)ivar; argument 65 - (NSObject *)ivar 69 - (void)setIvar:(NSObject *)ivar 82 @interface MyPropertyClass1 : NSObject [all …]
|
D | MissingDealloc.m | 12 @protocol NSObject protocol 17 @interface NSObject <NSObject> {} interface 28 @interface MissingDeallocWithIvar : NSObject { 29 NSObject *_ivar; 40 @interface MissingDeallocWithIntProperty : NSObject 47 @interface MissingDeallocWithSELProperty : NSObject 57 @interface MissingDeallocWithCopyProperty : NSObject 58 @property (copy) NSObject *ivar; 67 @interface MissingDeallocWithRetainProperty : NSObject 68 @property (retain) NSObject *ivar; [all …]
|
D | refcnt_naming.m | 8 @protocol NSObject - (BOOL)isEqual:(id)object; @end protocol 9 @interface NSObject <NSObject> {} @end interface 12 @interface NamingTest : NSObject {} 13 -(NSObject*)copyPhoto; 14 -(NSObject*)mutableCopyPhoto; 15 -(NSObject*)mutable; 16 -(NSObject*)mutableCopying; 17 -(NSObject*)photocopy; // read as "photocopy" 18 -(NSObject*)photoCopy; // read as "photo Copy" 19 -(NSObject*)__blebPRCopy; // read as "bleb PRCopy" [all …]
|
/external/clang/test/Analysis/ |
D | DeallocMissingRelease.m | 21 @interface MyIvarClass1 : NSObject { 22 NSObject *_ivar; 27 - (instancetype)initWithIvar:(NSObject *)ivar 45 @interface MyIvarClass2 : NSObject { 46 NSObject *_ivar; 48 - (NSObject *)ivar; 49 - (void)setIvar:(NSObject *)ivar; argument 64 - (NSObject *)ivar 68 - (void)setIvar:(NSObject *)ivar 81 @interface MyPropertyClass1 : NSObject [all …]
|
D | MissingDealloc.m | 12 @protocol NSObject protocol 17 @interface NSObject <NSObject> {} interface 28 @interface MissingDeallocWithIvar : NSObject { 29 NSObject *_ivar; 40 @interface MissingDeallocWithIntProperty : NSObject 47 @interface MissingDeallocWithSELProperty : NSObject 57 @interface MissingDeallocWithCopyProperty : NSObject 58 @property (copy) NSObject *ivar; 67 @interface MissingDeallocWithRetainProperty : NSObject 68 @property (retain) NSObject *ivar; [all …]
|
D | refcnt_naming.m | 8 @protocol NSObject - (BOOL)isEqual:(id)object; @end protocol 9 @interface NSObject <NSObject> {} @end interface 12 @interface NamingTest : NSObject {} 13 -(NSObject*)copyPhoto; 14 -(NSObject*)mutableCopyPhoto; 15 -(NSObject*)mutable; 16 -(NSObject*)mutableCopying; 17 -(NSObject*)photocopy; // read as "photocopy" 18 -(NSObject*)photoCopy; // read as "photo Copy" 19 -(NSObject*)__blebPRCopy; // read as "bleb PRCopy" [all …]
|
/external/clang/test/PCH/ |
D | objc_parameterized_classes.m | 8 @protocol NSObject protocol 12 @interface NSObject interface 15 @interface PC1<__covariant T, U : NSObject *> : NSObject 19 @interface PC1<__covariant T, U : NSObject *> (Cat1) 22 typedef PC1<id, NSObject *> PC1Specialization1; 24 typedef PC1Specialization1 <NSObject> PC1Specialization2; 27 @interface PC1<T : NSObject *, // expected-error{{type bound 'NSObject *' for type parameter 'T' co… 29 …expected-error{{type bound 'id' for type parameter 'U' conflicts with previous bound 'NSObject *'}} 33 …NSObject *> PC1Specialization3; // expected-error{{type arguments cannot be applied to already-spe… 35 …on2<id, NSObject *> PC1Specialization4; // expected-error{{already-specialized class type 'PC1Spec… [all …]
|
/external/llvm-project/clang/test/PCH/ |
D | objc_parameterized_classes.m | 8 @protocol NSObject protocol 12 @interface NSObject interface 15 @interface PC1<__covariant T, U : NSObject *> : NSObject 19 @interface PC1<__covariant T, U : NSObject *> (Cat1) 22 typedef PC1<id, NSObject *> PC1Specialization1; 24 typedef PC1Specialization1 <NSObject> PC1Specialization2; 27 @interface PC1<T : NSObject *, // expected-error{{type bound 'NSObject *' for type parameter 'T' co… 29 …expected-error{{type bound 'id' for type parameter 'U' conflicts with previous bound 'NSObject *'}} 33 …NSObject *> PC1Specialization3; // expected-error{{type arguments cannot be applied to already-spe… 35 …on2<id, NSObject *> PC1Specialization4; // expected-error{{already-specialized class type 'PC1Spec… [all …]
|
/external/llvm-project/clang/test/Index/ |
D | annotate-parameterized-classes.m | 1 @protocol NSObject protocol 4 @interface NSObject interface 7 @interface A<T : id, U : NSObject *> : NSObject 10 @interface A<T : id, U : NSObject *> (Cat1) 13 typedef A<id<NSObject>, NSObject *> ASpecialization1; 15 @interface B<T : id, U : NSObject *> : A<T, U> 22 // CHECK-INTERFACE-DECL: Identifier: "NSObject" [7:26 - 7:34] ObjCClassRef=NSObject:4:12 28 // CHECK-CATEGORY-DECL: Identifier: "NSObject" [10:26 - 10:34] ObjCClassRef=NSObject:4:12 32 // CHECK-SPECIALIZATION: Identifier: "NSObject" [13:14 - 13:22] ObjCProtocolRef=NSObject:1:11 33 // CHECK-SPECIALIZATION: Identifier: "NSObject" [13:25 - 13:33] ObjCClassRef=NSObject:4:12
|
/external/clang/test/Index/ |
D | annotate-parameterized-classes.m | 1 @protocol NSObject protocol 4 @interface NSObject interface 7 @interface A<T : id, U : NSObject *> : NSObject 10 @interface A<T : id, U : NSObject *> (Cat1) 13 typedef A<id<NSObject>, NSObject *> ASpecialization1; 15 @interface B<T : id, U : NSObject *> : A<T, U> 22 // CHECK-INTERFACE-DECL: Identifier: "NSObject" [7:26 - 7:34] ObjCClassRef=NSObject:4:12 28 // CHECK-CATEGORY-DECL: Identifier: "NSObject" [10:26 - 10:34] ObjCClassRef=NSObject:4:12 32 // CHECK-SPECIALIZATION: Identifier: "NSObject" [13:14 - 13:22] ObjCProtocolRef=NSObject:1:11 33 // CHECK-SPECIALIZATION: Identifier: "NSObject" [13:25 - 13:33] ObjCClassRef=NSObject:4:12
|