Lines Matching refs:parameter
30 // expected-note@-1{{type parameter 'T' declared here}}
31 // expected-note@-2{{type parameter 'U' declared here}}
32 // expected-note@-3{{type parameter 'U' declared here}}
35 // Parse a type parameter with a bound that terminates in '>>'.
47 // Parse a type parameter list without a superclass.
51 // Parse a type parameter with name conflicts.
53 T> : NSObject // expected-error{{redeclaration of type parameter 'T'}}
65 @interface PC9<T : int, // expected-error{{type bound 'int' for type parameter 'T' is not an Object…
66 …String> : NSObject // expected-error{{missing '*' in type bound 'NSString' for type parameter 'U'}}
77 @class PC10<T, U : NSObject *>, PC11<T : NSObject *, U : id>; // expected-note{{type parameter 'T' …
89 … : NSObject // expected-error{{missing type bound 'NSObject *' for type parameter 'T' in @interfac…
92 @interface PC12<T : NSObject *> : NSObject // expected-note{{type parameter 'T' declared here}}
98 @class PC13<T : NSObject *>; // expected-note{{type parameter 'T' declared here}}
100 @class PC13<U>; // expected-error{{missing type bound 'NSObject *' for type parameter 'U' in @class…
103 @class PC12<T>; // expected-error{{missing type bound 'NSObject *' for type parameter 'T' in @class…
151 @interface PC1<T : NSObject *, // expected-error{{type bound 'NSObject *' for type parameter 'T' co…
152 …pected-error{{type bound 'id' for type parameter 'X' conflicts with previous bound 'NSObject *'for…
256 // expected-note@-1{{type parameter 'V' declared here}}
257 // expected-note@-2{{type parameter 'V' declared here}}
258 // expected-note@-3{{type parameter 'U' declared here}}
272 …or{{type argument 'NSObject *' does not satisfy the bound ('id<NSCopying>') of type parameter 'V'}}
275 …xpected-error{{type argument 'id' does not satisfy the bound ('NSObject *') of type parameter 'U'}}
279 …cted-error{{type argument 'id' does not satisfy the bound ('id<NSCopying>') of type parameter 'V'}}
323 …ror{{type argument 'T' (aka 'id') does not satisfy the bound ('NSObject *') of type parameter 'U'}}
355 …ant X, // expected-error{{contravariant type parameter 'X' conflicts with previous covariant type …
356 …nt Y> () // expected-error{{covariant type parameter 'Y' conflicts with previous contravariant typ…
361 …ant T, // expected-error{{contravariant type parameter 'T' conflicts with previous covariant type …
362 …NSObject // expected-error{{invariant type parameter 'U' conflicts with previous contravariant typ…