Skip to content

Commit 258e62e

Browse files
committed
Regenerate
1 parent 7fe1487 commit 258e62e

File tree

53 files changed

+208
-208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+208
-208
lines changed

Reference/Conformance/google/protobuf/test_messages_proto2.pb.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3669,8 +3669,8 @@ extension ProtobufTestMessages_Proto2_NullHypothesisProto2: SwiftProtobuf.Messag
36693669
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
36703670

36713671
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3672-
while let _ = try decoder.nextFieldNumber() {
3673-
}
3672+
// Load everything into unknown fields
3673+
while try decoder.nextFieldNumber() != nil {}
36743674
}
36753675

36763676
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
@@ -3688,8 +3688,8 @@ extension ProtobufTestMessages_Proto2_EnumOnlyProto2: SwiftProtobuf.Message, Swi
36883688
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
36893689

36903690
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3691-
while let _ = try decoder.nextFieldNumber() {
3692-
}
3691+
// Load everything into unknown fields
3692+
while try decoder.nextFieldNumber() != nil {}
36933693
}
36943694

36953695
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/Conformance/google/protobuf/test_messages_proto3.pb.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2644,8 +2644,8 @@ extension ProtobufTestMessages_Proto3_NullHypothesisProto3: SwiftProtobuf.Messag
26442644
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
26452645

26462646
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2647-
while let _ = try decoder.nextFieldNumber() {
2648-
}
2647+
// Load everything into unknown fields
2648+
while try decoder.nextFieldNumber() != nil {}
26492649
}
26502650

26512651
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
@@ -2663,8 +2663,8 @@ extension ProtobufTestMessages_Proto3_EnumOnlyProto3: SwiftProtobuf.Message, Swi
26632663
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
26642664

26652665
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2666-
while let _ = try decoder.nextFieldNumber() {
2667-
}
2666+
// Load everything into unknown fields
2667+
while try decoder.nextFieldNumber() != nil {}
26682668
}
26692669

26702670
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/SwiftProtobuf/google/protobuf/empty.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ extension Google_Protobuf_Empty: Message, _MessageImplementationBase, _ProtoName
7575
static let _protobuf_nameMap = _NameMap()
7676

7777
mutating func decodeMessage<D: Decoder>(decoder: inout D) throws {
78-
while let _ = try decoder.nextFieldNumber() {
79-
}
78+
// Load everything into unknown fields
79+
while try decoder.nextFieldNumber() != nil {}
8080
}
8181

8282
func traverse<V: Visitor>(visitor: inout V) throws {

Reference/SwiftProtobufPluginLibraryTests/pluginlib_descriptor_test.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,8 +892,8 @@ extension SDTScoperForExt: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
892892
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
893893

894894
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
895-
while let _ = try decoder.nextFieldNumber() {
896-
}
895+
// Load everything into unknown fields
896+
while try decoder.nextFieldNumber() != nil {}
897897
}
898898

899899
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/SwiftProtobufTests/generated_swift_names_enums.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29083,8 +29083,8 @@ extension SwiftProtoTesting_Generated_GeneratedSwiftReservedEnums: SwiftProtobuf
2908329083
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
2908429084

2908529085
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
29086-
while let _ = try decoder.nextFieldNumber() {
29087-
}
29086+
// Load everything into unknown fields
29087+
while try decoder.nextFieldNumber() != nil {}
2908829088
}
2908929089

2909029090
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/SwiftProtobufTests/generated_swift_names_messages.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11659,8 +11659,8 @@ extension SwiftProtoTesting_Generated_GeneratedSwiftReservedMessages: SwiftProto
1165911659
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
1166011660

1166111661
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
11662-
while let _ = try decoder.nextFieldNumber() {
11663-
}
11662+
// Load everything into unknown fields
11663+
while try decoder.nextFieldNumber() != nil {}
1166411664
}
1166511665

1166611666
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/SwiftProtobufTests/unittest.pb.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5036,8 +5036,8 @@ extension SwiftProtoTesting_TestNestedExtension: SwiftProtobuf.Message, SwiftPro
50365036
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
50375037

50385038
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5039-
while let _ = try decoder.nextFieldNumber() {
5040-
}
5039+
// Load everything into unknown fields
5040+
while try decoder.nextFieldNumber() != nil {}
50415041
}
50425042

50435043
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
@@ -5512,8 +5512,8 @@ extension SwiftProtoTesting_TestEmptyMessage: SwiftProtobuf.Message, SwiftProtob
55125512
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
55135513

55145514
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5515-
while let _ = try decoder.nextFieldNumber() {
5516-
}
5515+
// Load everything into unknown fields
5516+
while try decoder.nextFieldNumber() != nil {}
55175517
}
55185518

55195519
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/SwiftProtobufTests/unittest_proto3.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,8 +1548,8 @@ extension SwiftProtoTesting_Proto3_TestEmptyMessage: SwiftProtobuf.Message, Swif
15481548
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
15491549

15501550
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1551-
while let _ = try decoder.nextFieldNumber() {
1552-
}
1551+
// Load everything into unknown fields
1552+
while try decoder.nextFieldNumber() != nil {}
15531553
}
15541554

15551555
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/SwiftProtobufTests/unittest_swift_deprecated.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ extension SwiftProtoTesting_Deprecated_MsgScope: SwiftProtobuf.Message, SwiftPro
546546
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
547547

548548
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
549-
while let _ = try decoder.nextFieldNumber() {
550-
}
549+
// Load everything into unknown fields
550+
while try decoder.nextFieldNumber() != nil {}
551551
}
552552

553553
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

Reference/SwiftProtobufTests/unittest_swift_deprecated_file.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ extension SwiftProtoTesting_DeprecatedFile_MsgScope: SwiftProtobuf.Message, Swif
366366
static let _protobuf_nameMap = SwiftProtobuf._NameMap()
367367

368368
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
369-
while let _ = try decoder.nextFieldNumber() {
370-
}
369+
// Load everything into unknown fields
370+
while try decoder.nextFieldNumber() != nil {}
371371
}
372372

373373
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {

0 commit comments

Comments
 (0)