@@ -33,45 +33,45 @@ public struct A1: PublicProto, PrivateProto {}
3333// NEGATIVE-NOT: extension conformances.A2
3434public struct A2 : PrivateProto , PublicProto { }
3535// CHECK: public struct A3 {
36- // CHECK-END: extension A3 : conformances.PublicProto {}
36+ // CHECK-END: extension conformances. A3 : conformances.PublicProto {}
3737public struct A3 : PublicProto & PrivateProto { }
3838// CHECK: public struct A4 {
39- // CHECK-END: extension A4 : conformances.PublicProto {}
39+ // CHECK-END: extension conformances. A4 : conformances.PublicProto {}
4040public struct A4 : PrivateProto & PublicProto { }
4141
4242public protocol PublicBaseProto { }
4343private protocol PrivateSubProto : PublicBaseProto { }
4444
4545// CHECK: public struct B1 {
46- // CHECK-END: extension B1 : conformances.PublicBaseProto {}
46+ // CHECK-END: extension conformances. B1 : conformances.PublicBaseProto {}
4747public struct B1 : PrivateSubProto { }
4848// CHECK: public struct B2 : conformances.PublicBaseProto {
4949// NEGATIVE-NOT: extension conformances.B2
5050public struct B2 : PublicBaseProto , PrivateSubProto { }
5151// CHECK: public struct B3 {
52- // CHECK-END: extension B3 : conformances.PublicBaseProto {}
52+ // CHECK-END: extension conformances. B3 : conformances.PublicBaseProto {}
5353public struct B3 : PublicBaseProto & PrivateSubProto { }
5454// CHECK: public struct B4 : conformances.PublicBaseProto {
55- // NEGATIVE-NOT: extension B4 {
55+ // NEGATIVE-NOT: extension conformances. B4 {
5656// NEGATIVE-NOT: extension conformances.B4
5757public struct B4 : PublicBaseProto { }
5858extension B4 : PrivateSubProto { }
5959// CHECK: public struct B5 {
60- // CHECK: extension B5 : conformances.PublicBaseProto {
61- // NEGATIVE-NOT: extension conformances. B5
60+ // CHECK: extension conformances. B5 : conformances.PublicBaseProto {
61+ // NEGATIVE-NOT: extension B5
6262public struct B5 : PrivateSubProto { }
6363extension B5 : PublicBaseProto { }
6464// CHECK: public struct B6 {
65- // NEGATIVE-NOT: extension B6 {
66- // CHECK : extension B6 : conformances.PublicBaseProto {
67- // NEGATIVE-NOT : extension conformances.B6
65+ // NEGATIVE-NOT: extension conformances. B6 : conformances.PrivateSubProto
66+ // NEGATIVE-NOT : extension conformances.B6 {
67+ // CHECK : extension conformances.B6 : conformances.PublicBaseProto {
6868public struct B6 { }
6969extension B6 : PrivateSubProto { }
7070extension B6 : PublicBaseProto { }
7171// CHECK: public struct B7 {
72- // CHECK: extension B7 : conformances.PublicBaseProto {
73- // NEGATIVE-NOT: extension B7 {
74- // NEGATIVE-NOT: extension conformances.B7
72+ // CHECK: extension conformances. B7 : conformances.PublicBaseProto {
73+ // NEGATIVE-NOT: extension conformances.B7 : conformances.PrivateSubProto {
74+ // NEGATIVE-NOT: extension conformances.B7 {
7575public struct B7 { }
7676extension B7 : PublicBaseProto { }
7777extension B7 : PrivateSubProto { }
@@ -92,7 +92,7 @@ public protocol ConditionallyConformedAgain {}
9292extension OuterGeneric : ConditionallyConformed where T: PrivateProto { }
9393extension OuterGeneric : ConditionallyConformedAgain where T == PrivateProto { }
9494
95- // CHECK-END: extension OuterGeneric.Inner : conformances.PublicBaseProto {}
95+ // CHECK-END: extension conformances. OuterGeneric.Inner : conformances.PublicBaseProto {}
9696// CHECK-END: @available(*, unavailable)
9797// CHECK-END-NEXT: extension conformances.OuterGeneric.Inner : conformances.ConditionallyConformed, conformances.ConditionallyConformedAgain where T : _ConstraintThatIsNotPartOfTheAPIOfThisLibrary {}
9898extension OuterGeneric . Inner : ConditionallyConformed where T: PrivateProto { }
@@ -101,14 +101,14 @@ extension OuterGeneric.Inner: ConditionallyConformedAgain where T == PrivateProt
101101private protocol AnotherPrivateSubProto : PublicBaseProto { }
102102
103103// CHECK: public struct C1 {
104- // CHECK-END: extension C1 : conformances.PublicBaseProto {}
104+ // CHECK-END: extension conformances. C1 : conformances.PublicBaseProto {}
105105public struct C1 : PrivateSubProto , AnotherPrivateSubProto { }
106106// CHECK: public struct C2 {
107- // CHECK-END: extension C2 : conformances.PublicBaseProto {}
107+ // CHECK-END: extension conformances. C2 : conformances.PublicBaseProto {}
108108public struct C2 : PrivateSubProto & AnotherPrivateSubProto { }
109109// CHECK: public struct C3 {
110- // NEGATIVE-NOT: extension C3 {
111- // CHECK-END: extension C3 : conformances.PublicBaseProto {}
110+ // NEGATIVE-NOT: extension conformances. C3 {
111+ // CHECK-END: extension conformances. C3 : conformances.PublicBaseProto {}
112112public struct C3 : PrivateSubProto { }
113113extension C3 : AnotherPrivateSubProto { }
114114
@@ -122,48 +122,49 @@ public struct D1: PublicSubProto, PrivateSubProto {}
122122// NEGATIVE-NOT: extension conformances.D2
123123public struct D2 : PrivateSubProto , PublicSubProto { }
124124// CHECK: public struct D3 {
125- // CHECK-END: extension D3 : conformances.PublicBaseProto {}
126- // CHECK-END: extension D3 : conformances.PublicSubProto {}
125+ // CHECK-END: extension conformances. D3 : conformances.PublicBaseProto {}
126+ // CHECK-END: extension conformances. D3 : conformances.PublicSubProto {}
127127public struct D3 : PrivateSubProto & PublicSubProto { }
128128// CHECK: public struct D4 {
129- // CHECK-END: extension D4 : conformances.APublicSubProto {}
130- // CHECK-END: extension D4 : conformances.PublicBaseProto {}
129+ // CHECK-END: extension conformances. D4 : conformances.APublicSubProto {}
130+ // CHECK-END: extension conformances. D4 : conformances.PublicBaseProto {}
131131public struct D4 : APublicSubProto & PrivateSubProto { }
132132// CHECK: public struct D5 {
133- // CHECK: extension D5 : conformances.PublicSubProto {
134- // NEGATIVE-NOT: extension conformances.D5
133+ // NEGATIVE-NOT: extension conformances.D5 : conformances.PrivateSubProto {
134+ // NEGATIVE-NOT: extension conformances.D5 {
135+ // CHECK: extension conformances.D5 : conformances.PublicSubProto {
135136public struct D5 : PrivateSubProto { }
136137extension D5 : PublicSubProto { }
137138// CHECK: public struct D6 : conformances.PublicSubProto {
138- // NEGATIVE-NOT: extension D6 {
139+ // NEGATIVE-NOT: extension conformances. D6 {
139140// NEGATIVE-NOT: extension conformances.D6
140141public struct D6 : PublicSubProto { }
141142extension D6 : PrivateSubProto { }
142143
143144private typealias PrivateProtoAlias = PublicProto
144145
145146// CHECK: public struct E1 {
146- // CHECK-END: extension E1 : conformances.PublicProto {}
147+ // CHECK-END: extension conformances. E1 : conformances.PublicProto {}
147148public struct E1 : PrivateProtoAlias { }
148149
149150private typealias PrivateSubProtoAlias = PrivateSubProto
150151
151152// CHECK: public struct F1 {
152- // CHECK-END: extension F1 : conformances.PublicBaseProto {}
153+ // CHECK-END: extension conformances. F1 : conformances.PublicBaseProto {}
153154public struct F1 : PrivateSubProtoAlias { }
154155
155156private protocol ClassConstrainedProto : PublicProto , AnyObject { }
156157
157158public class G1 : ClassConstrainedProto { }
158159// CHECK: public class G1 {
159- // CHECK-END: extension G1 : conformances.PublicProto {}
160+ // CHECK-END: extension conformances. G1 : conformances.PublicProto {}
160161
161162public class Base { }
162163private protocol BaseConstrainedProto : Base , PublicProto { }
163164
164165public class H1 : Base , ClassConstrainedProto { }
165166// CHECK: public class H1 : conformances.Base {
166- // CHECK-END: extension H1 : conformances.PublicProto {}
167+ // CHECK-END: extension conformances. H1 : conformances.PublicProto {}
167168
168169public struct MultiGeneric < T, U, V> { }
169170extension MultiGeneric : PublicProto where U: PrivateProto { }
@@ -197,32 +198,32 @@ public struct CoolTVType: PrivateSubProto {}
197198// CHECK: public struct CoolTVType {
198199// CHECK-END: @available(iOS, unavailable)
199200// CHECK-END-NEXT: @available(macOS, unavailable)
200- // CHECK-END-NEXT: extension CoolTVType : conformances.PublicBaseProto {}
201+ // CHECK-END-NEXT: extension conformances. CoolTVType : conformances.PublicBaseProto {}
201202
202203@available ( macOS 10 . 99 , * )
203204public struct VeryNewMacType : PrivateSubProto { }
204205// CHECK: public struct VeryNewMacType {
205206// CHECK-END: @available(macOS 10.99, *)
206- // CHECK-END-NEXT: extension VeryNewMacType : conformances.PublicBaseProto {}
207+ // CHECK-END-NEXT: extension conformances. VeryNewMacType : conformances.PublicBaseProto {}
207208
208209public struct VeryNewMacProto { }
209210@available ( macOS 10 . 98 , * )
210211extension VeryNewMacProto : PrivateSubProto { }
211212// CHECK: public struct VeryNewMacProto {
212213// CHECK-END: @available(macOS 10.98, *)
213- // CHECK-END-NEXT: extension VeryNewMacProto : conformances.PublicBaseProto {}
214+ // CHECK-END-NEXT: extension conformances. VeryNewMacProto : conformances.PublicBaseProto {}
214215
215216public struct PrivateProtoConformer { }
216217extension PrivateProtoConformer : PrivateProto {
217218 public var member : Int { return 0 }
218219}
219220// CHECK: public struct PrivateProtoConformer {
220- // CHECK: extension PrivateProtoConformer {
221+ // CHECK: extension conformances. PrivateProtoConformer {
221222// CHECK-NEXT: public var member: Swift.Int {
222223// CHECK-NEXT: get
223224// CHECK-NEXT: }
224225// CHECK-NEXT: {{^}$}}
225- // NEGATIVE-NOT: extension conformances.PrivateProtoConformer
226+ // NEGATIVE-NOT: extension conformances.PrivateProtoConformer : conformances.PrivateProto {
226227
227228// NEGATIVE-NOT: extension {{(Swift.)?}}Bool{{.+}}Hashable
228229// NEGATIVE-NOT: extension {{(Swift.)?}}Bool{{.+}}Equatable
@@ -238,7 +239,7 @@ public struct NestedAvailabilityOuter {
238239
239240// CHECK-END: @available(macOS 10.97, iOS 23, *)
240241// CHECK-END: @available(tvOS, unavailable)
241- // CHECK-END: extension NestedAvailabilityOuter.Inner : conformances.PublicBaseProto {}
242+ // CHECK-END: extension conformances. NestedAvailabilityOuter.Inner : conformances.PublicBaseProto {}
242243
243244
244245// CHECK-END: @usableFromInline
0 commit comments