/external/clang/test/SemaObjC/ |
D | incompatible-protocol-qualified-types.m | 9 @interface INTF @end interface 11 INTF <MyProto1> * Func(INTF <MyProto1, MyProto2> *p2) // expected-note{{passing argument to paramet… 17 INTF <MyProto1> * Func1(INTF <MyProto1, MyProto2> *p2) 22 INTF <MyProto1, MyProto2> * Func2(INTF <MyProto1> *p2) 24 …xpected-warning {{incompatible pointer types passing 'INTF<MyProto1> *' to parameter of type 'INTF… 25 …warning {{incompatible pointer types returning 'INTF<MyProto1> *' from a function with result type… 30 INTF <MyProto1> * Func3(INTF <MyProto2> *p2) 32 …warning {{incompatible pointer types returning 'INTF<MyProto2> *' from a function with result type… 36 INTF <MyProto1, MyProto2> * Func4(INTF <MyProto2, MyProto1> *p2)
|
D | class-conforming-protocol-1.m | 7 @interface INTF interface 8 - (INTF*) METH1; // expected-note {{previous declaration is here}} 9 - (INTF<P1>*) METH1; // expected-error {{duplicate declaration of method 'METH1'}} 11 - (INTF<P2,P1>*) METH2; // expected-note {{previous declaration is here}} 12 - (INTF<P2,P1,P3>*) METH2; // expected-error {{duplicate declaration of method 'METH2'}} 14 - (INTF<P2,P1,P3>*) METH3; // expected-note {{previous declaration is here}} 15 - (INTF<P3,P1,P2, P3>*) METH3; // expected-warning {{multiple declarations of method 'METH3' found … 19 INTF<P2,P1,P3>* p1;
|
D | protocol-id-test-3.m | 9 @interface INTF @end interface 11 id<MyProto1> Func(INTF <MyProto1, MyProto2> *p2) // expected-note 2{{passing argument to parameter … 32 …Func(p2); // expected-warning {{passing 'id<MyProto1>' to parameter of incompatible type 'INTF<MyP… 51 INTF<MyProto1> * Hunc(id <MyProto1, MyProto2>p2) 57 INTF<MyProto1> * Hunc1(id <MyProto1, MyProto2>p2) 62 INTF<MyProto1, MyProto2> * Hunc2(id <MyProto1>p2) 64 …Func(p2); // expected-warning {{passing 'id<MyProto1>' to parameter of incompatible type 'INTF<MyP… 65 …{{returning 'id<MyProto1>' from a function with incompatible result type 'INTF<MyProto1,MyProto2> … 68 INTF<MyProto1> * Hunc3(id <MyProto2>p2) 70 …rning {{returning 'id<MyProto2>' from a function with incompatible result type 'INTF<MyProto1> *'}} [all …]
|
D | error-property-gc-attr.m | 4 @interface INTF interface 10 __weak INTF* AWEAK; 11 __weak INTF* WI; 17 @property (assign) INTF* AWEAK; 18 @property (assign) __weak INTF* WI; 21 @implementation INTF implementation
|
D | legacy-implementation-1.m | 3 @implementation INTF // expected-warning {{cannot find interface declaration for 'INTF'}} implementation 6 INTF* pi; 8 INTF* FUNC()
|
D | class-impl-1.m | 9 @interface INTF : OBJECT interface 12 @implementation INTF @end // expected-note {{previous definition is here}} implementation 14 @implementation INTF // expected-error {{reimplementation of class 'INTF'}} implementation
|
D | protocol-id-test-1.m | 10 @interface INTF<P> // expected-note {{receiver is instance of class declared here}} interface 14 @implementation INTF implementation 15 - (void)IMeth {INTF<P> *pi; [pi Meth]; } // expected-warning {{instance method '-Meth' not found (…
|
D | method-warn-unused-attribute.m | 3 @interface INTF interface 10 void foo(INTF *a) { 13 …[INTF c]; // expected-warning {{ignoring return value of function declared with 'warn_unused_resul…
|
D | objc2-merge-gc-attribue-decl.m | 2 @interface INTF @end interface 4 extern INTF* p2; 5 extern __strong INTF* p2;
|
D | class-def-test-1.m | 7 typedef int INTF; // expected-note {{previous definition is here}} typedef 9 @interface INTF @end // expected-error {{redefinition of 'INTF' as different kind of symbol}} interface
|
D | protocol-id-test-2.m | 6 @interface INTF<P> interface 10 @implementation INTF implementation
|
D | transparent-union.m | 15 @interface INTF interface 20 @implementation INTF implementation
|
D | method-unused-attribute.m | 3 @interface INTF interface 9 @implementation INTF implementation
|
D | warn-direct-ivar-access.m | 62 __attribute__((objc_root_class)) @interface INTF <PROTOCOL> interface 67 @interface INTF() interface in copy 72 @implementation INTF implementation
|
/external/clang/test/Rewriter/ |
D | rewrite-protocol-type-1.m | 9 @interface INTF @end interface 11 INTF <MyProto1> *g1; 13 INTF <MyProto1, MyProto2> *g2, *g3; 15 INTF <MyProto1> * Func(INTF <MyProto1> *p2, INTF<MyProto1> *p3, INTF *p4, INTF<MyProto1> *p5) 20 INTF <MyProto1, MyProto2> * Func1(INTF *p2, INTF<MyProto1, MyProto2> *p3, INTF *p4, INTF<MyProto1> …
|
D | rewrite-modern-ivars.mm | 6 @interface INTF interface 14 id<P, P1> (^ext_block)(id<P>, INTF<P,P1>*, INTF*); field 17 INTF<P> *(*imp_fptr)(void (^_block)(id<P>, INTF<P,P1>*)); 22 @implementation INTF @end implementation
|
D | rewrite-modern-protocol-1.mm | 7 @interface INTF<NSCopying> interface 10 @implementation INTF @end implementation
|
D | id-test-3.m | 7 @interface INTF<P> interface 11 @implementation INTF implementation
|
D | rewrite-modern-protocol.mm | 27 @interface INTF <PROTO, ROOT> interface 30 @implementation INTF implementation
|
/external/clang/test/Parser/ |
D | objc-type-printing.m | 7 @interface INTF interface 8 - (INTF<P1>*) METH; 13 INTF *pintf; 14 INTF<P1>* p1; 15 INTF<P1, P1>* p2; 16 INTF<P1, P3>* p3; 17 INTF<P1, P3, P2>* p4; 18 INTF<P2,P2, P3, P1>* p5;
|
D | objc-alias-printing.m | 6 @interface INTF @end interface 8 @compatibility_alias alias INTF; 13 INTF *pi; 14 INTF<P2,P1> *pi2;
|
/external/clang/test/SemaObjCXX/ |
D | objc2-merge-gc-attribue-decl.mm | 2 @interface INTF @end interface 4 extern INTF* p2; 5 extern __strong INTF* p2; 16 extern INTF* CFRunLoopGetMain3(); 17 extern __strong INTF* CFRunLoopGetMain3(); 19 extern __strong INTF* CFRunLoopGetMain4(); 20 extern INTF* CFRunLoopGetMain4();
|
/external/clang/test/CodeGenObjC/ |
D | bitfield-ivar-metadata.m | 3 @interface INTF interface 12 @implementation INTF implementation
|
D | objc2-protocol-metadata.m | 9 @interface INTF <P1> interface 12 @implementation INTF implementation
|
/external/clang/test/FixIt/ |
D | fixit-interface-as-param.m | 6 @interface INTF interface 14 @implementation INTF implementation
|