Lines Matching refs:protocol
14 @protocol p1,p2,p3;
16 @protocol p1;
18 @protocol PROTO1
27 @protocol PROTO2<p1>
30 @protocol p1 @end
32 @protocol PROTO<p1> // expected-note {{previous definition is here}}
35 @protocol PROTO<p1> // expected-warning {{duplicate protocol definition of 'PROTO'}}
38 @protocol PROTO3<p1, p1>
41 @protocol p2 <p1>
44 @protocol PROTO4 <p1, p2, PROTO, PROTO3, p3>
49 @protocol XX;
50 @protocol YY <XX> // Use of declaration of XX here should not cause a warning.
56 @protocol B;
57 @protocol C < B > // expected-note{{previous definition is here}}
59 @protocol A < C >
61 @protocol B < A > // expected-error{{protocol has circular dependency}}
64 @protocol P