Lines Matching refs:bound
28 // Parse type parameters with a bound
35 // Parse a type parameter with a bound that terminates in '>>'.
65 @interface PC9<T : int, // expected-error{{type bound 'int' for type parameter 'T' is not an Object…
66 …U : NSString> : NSObject // expected-error{{missing '*' in type bound 'NSString' for type paramete…
89 @interface PC11<T, U> : NSObject // expected-error{{missing type bound 'NSObject *' for type parame…
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 …<T : NSObject *, // expected-error{{type bound 'NSObject *' for type parameter 'T' conflicts with …
152 …X : id> () // expected-error{{type bound 'id' for type parameter 'X' conflicts with previous bound…
268 …rgs8b; // expected-error{{type argument 'NSObject *' does not satisfy the bound ('id<NSCopying>') …
271 …id, // expected-error{{type argument 'id' does not satisfy the bound ('NSObject *') of type param…
275 …id> typeArgs10; // expected-error{{type argument 'id' does not satisfy the bound ('id<NSCopying>')…
319 …, T> // expected-error{{type argument 'T' (aka 'id') does not satisfy the bound ('NSObject *') of …