Home
last modified time | relevance | path

Searched refs:NSObject (Results 1 – 25 of 662) sorted by relevance

12345678910>>...27

/external/llvm/test/CodeGen/X86/
D2008-04-15-LiveVariableBug.ll6 %struct.NSArray = type { %struct.NSObject }
7 %struct.NSAssertionHandler = type { %struct.NSObject, i8* }
8NSObject, %struct.NSObject*, i8*, %struct.NSView*, %struct.NSView*, %struct.NSView*, %struct.NSArr…
9NSObject, %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 …]
Dsplit-eh-lpad-edges.ll4 …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/clang/test/SemaObjC/
Dparameterized_classes.m11 @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 …]
Dproperty-in-class-extension.m16 @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 …]
Dcomptypes-10.m10 @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)
19NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with …
20NSObject *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> *'}}
33NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with …
[all …]
Dblock-type-safety.m25 @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 …]
Dnsobject-attribute.m3 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 …
Dcomptypes-legal.m3 @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…
Dkindof.m9 @protocol NSObject protocol
23 @interface NSObject <NSObject> interface
24 - (NSObject *)retain;
27 @interface NSString : NSObject <NSCopying>
36 @interface NSNumber : NSObject <NSCopying>
45 typedef __kindof NSObject *typedef1;
46 typedef NSObject __kindof *typedef2;
47 typedef __kindof NSObject<NSCopying> typedef3;
48 typedef NSObject<NSCopying> __kindof *typedef4;
54 typedef __kindof NSObject __kindof *redundant_typedef2;
[all …]
Dprops-on-prots.m6 @protocol NSObject protocol
14 @interface NSObject < NSObject > {} @end interface
18 @interface NSResponder:NSObject < NSCoding > {} @end
24 @protocol XCElementP < NSObject >
31 typedef NSObject < XCElementTabMarkerP > XCElementTabMarker;
37 typedef NSObject < XCElementTabberP > XCElementTabber;
39 @protocol XCElementTabMarkerP < NSObject >
48 typedef NSObject < XCElementJustifierP > XCElementJustifier;
49 @interface XCElementImp:NSObject < XCElementP > {}
Dconditional-expr-8.m28 @protocol NSObject protocol
32 @interface NSObject <NSObject> interface
35 @protocol Goable <NSObject>
43 @interface Car : NSObject
44 - (NSObject <Goable> *)bestGoable:(NSObject <Goable> *)drivable;
54 - (NSObject <Goable> *)bestGoable:(NSObject <Goable> *)drivable value:(int)value{
Dtypedef-class.m8 @protocol NSObject - (BOOL) isEqual:(id) object; - (id)init; @end protocol
12 @interface NSObject < NSObject > {} interface
18 @interface NSTask:NSObject
25 @interface NSCell:NSObject < NSCopying, NSCoding > {}
34 @protocol XCElementP < NSObject >
39 @protocol XCElementDisplayDelegateP < NSObject >
46 typedef NSObject < XCElementSpacerP > XCElementSpacer;
51 typedef NSObject < XCElementTogglerP > XCElementToggler; // expected-note {{previous definition is …
53 @interface XCElementRootFace:NSObject {} @end
63 @interface XCElementDisplay:NSObject < XCElementDisplayDelegateP > {} @end
Dobjc-independent-class-attribute.m4 @interface NSObject @end interface
6 typedef NSObject * __attribute__((objc_independent_class))dispatch_queue_t;
11NSObject *__attribute__((objc_independent_class)) ns; // expected-warning {{'objc_independent_clas…
16 @interface DispatchQPointerCastIssue : NSObject {
17NSObject *__attribute__((objc_independent_class)) Ivar; // expected-warning {{'objc_independent_cl…
20 @property (copy) NSObject *__attribute__((objc_independent_class)) Prop; // expected-warning {{'obj…
22 typedef NSObject * __attribute__((objc_independent_class))dispatch_queue_t_1;
32 NSObject *get_nsobject() {
33 typedef NSObject * __attribute__((objc_independent_class))dispatch_queue_t;
Dprotocol-typecheck.m3 @interface NSObject @end interface
11 - (void)setFlexElement:(NSObject <PWhatever, XCElementP> *)flexer;
12 - (void)setFlexElement2:(NSObject <PWhatever, XCElementSpacerP> *)flexer; // expected-note{{passing…
17 NSObject <PWhatever, XCElementSpacerP> * flexer;
18 NSObject <PWhatever, XCElementP> * flexer2;
22 …// protocol-typecheck.m:21: warning: class 'NSObject <PWhatever, XCElementP>' does not implement t…
23 …arning{{incompatible pointer types sending 'NSObject<PWhatever,XCElementP> *' to parameter of type…
Dmethod-lookup-2.m5 @protocol NSObject protocol
12 @interface NSObject < NSObject > {} @end interface
16 @interface NSPortNameServer:NSObject
26 @interface NSRunLoop:NSObject {} @end
34 @interface SenTestTool:NSObject {}
46 @interface XX : NSObject
52 @interface YY : NSObject
Dcompatible-protocol-qualified-types.m6 @protocol NSObject protocol
14 @interface NSObject <NSObject> {} interface
19 @interface NSResponder : NSObject <NSCoding> {}
25 - (NSObject <XCSelectionSource> *) source;
37 id<XCSelectionSource, NSObject> source =
45 @interface NSTextStorage : NSObject
52 @protocol NSTextStorageDelegate <NSObject>
60 @interface SKTText : NSObject {
/external/clang/test/PCH/
Dobjc_parameterized_classes.m8 @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 *'}}
33NSObject *> PC1Specialization3; // expected-error{{type arguments cannot be applied to already-spe…
35 …on2<id, NSObject *> PC1Specialization4; // expected-error{{already-specialized class type 'PC1Spec…
[all …]
Dobjc_kindof.m7 @protocol NSObject protocol
14 @interface NSObject <NSObject> interface
17 @interface NSString : NSObject <NSCopying>
23 @interface NSNumber : NSObject <NSCopying>
26 extern __kindof NSObject <NSCopying> *kindof_NSObject_NSCopying;
30 ip = kindof_NSObject_NSCopying; // expected-warning{{from '__kindof NSObject<NSCopying> *'}}
/external/clang/test/Index/
Dannotate-parameterized-classes.m1 @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
Dcomplete-parameterized-classes.m1 @protocol NSObject protocol
4 @interface NSObject interface
7 @interface Test<T : id, U : NSObject *> : NSObject
19 @interface MyClsA : NSObject
21 @interface MyClsB : NSObject
42 NSObject<> n;
57 …bjCInstanceMethodDecl:{ResultType void}{TypedText apply2:}{Placeholder ^(id, NSObject *)block} (35)
58 // CHECK-CC3: ObjCInstanceMethodDecl:{ResultType void}{TypedText apply:}{Placeholder ^(id, NSObject
59 // CHECK-CC3: ObjCInstanceMethodDecl:{ResultType __kindof NSObject *}{TypedText getit:}{Placeholder…
65 // CHECK-CC5: ObjCIvarDecl:{ResultType __kindof NSObject *}{TypedText myVar} (35)
[all …]
Dcomment-objc-parameterized-classes.m10 @protocol NSObject protocol
13 @interface NSObject interface
16 // CHECK: <Declaration>@interface A &lt;__covariant T : id, U : NSObject *&gt; : NSObject
18 @interface A<__covariant T : id, U : NSObject *> : NSObject
21 // CHECK: <Declaration>@interface AA : A &lt;id, NSObject *&gt;
23 @interface AA : A<id, NSObject *>
/external/clang/test/Analysis/
Drefcnt_naming.m8 @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/llvm/test/Transforms/InstCombine/
Dfp-ret-bitcast.ll4 %struct.NSObject = type { %struct.objc_class* }
5 %struct.NSArray = type { %struct.NSObject }
15 %color.466 = alloca %struct.NSObject*
18 store %struct.NSObject* %tmp103104, %struct.NSObject** %color.466, align 4
20 %tmp106 = load %struct.NSObject*, %struct.NSObject** %color.466, align 4
21 …itcast (void (%struct.NSObject*, ...)* @objc_msgSend_fpret to float (%struct.NSObject*, %struct.ob…
28 declare void @objc_msgSend_fpret(%struct.NSObject*, ...)
/external/clang/test/SemaObjCXX/
Dprotocol-lookup.mm2 @protocol NSObject protocol
7 @interface NSObject interface
12 @protocol Foo <NSObject>
18 @interface Baz : NSObject {
53 [id<NSObject>(a) retain];
54 id<NSObject> x(id<NSObject>(0));
55 …id<NSObject> x2(id<NSObject>(y)); // expected-warning{{disambiguated as a function declaration}} e…
Dconversion-to-objc-pointer-2.mm5 @protocol NSObject @end protocol
6 @interface NSObject interface
34 @protocol TFooProtocol <NSObject>
43 @interface TFoo : NSObject
62 @interface TBar : NSObject
82 NSObject* object1 = [[[NSObject alloc] init] autorelease];
83 TNSAutoRef<NSObject*> object2([[NSObject alloc] init]);

12345678910>>...27