@@ -3859,52 +3859,52 @@ extension SwiftProtoTesting_Fuzz_Message: SwiftProtobuf.Message, SwiftProtobuf._
38593859 // allocates stack space for every if/case branch local when no optimizations
38603860 // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
38613861 // https://github.com/apple/swift-protobuf/issues/1182
3862- try { if let v = _storage. _singularInt32 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3862+ try { if let v = _storage. _singularInt32 {
38633863 try visitor. visitSingularInt32Field ( value: v, fieldNumber: 1 )
38643864 } } ( )
3865- try { if let v = _storage. _singularInt64 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3865+ try { if let v = _storage. _singularInt64 {
38663866 try visitor. visitSingularInt64Field ( value: v, fieldNumber: 2 )
38673867 } } ( )
3868- try { if let v = _storage. _singularUint32 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3868+ try { if let v = _storage. _singularUint32 {
38693869 try visitor. visitSingularUInt32Field ( value: v, fieldNumber: 3 )
38703870 } } ( )
3871- try { if let v = _storage. _singularUint64 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3871+ try { if let v = _storage. _singularUint64 {
38723872 try visitor. visitSingularUInt64Field ( value: v, fieldNumber: 4 )
38733873 } } ( )
3874- try { if let v = _storage. _singularSint32 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3874+ try { if let v = _storage. _singularSint32 {
38753875 try visitor. visitSingularSInt32Field ( value: v, fieldNumber: 5 )
38763876 } } ( )
3877- try { if let v = _storage. _singularSint64 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3877+ try { if let v = _storage. _singularSint64 {
38783878 try visitor. visitSingularSInt64Field ( value: v, fieldNumber: 6 )
38793879 } } ( )
3880- try { if let v = _storage. _singularFixed32 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3880+ try { if let v = _storage. _singularFixed32 {
38813881 try visitor. visitSingularFixed32Field ( value: v, fieldNumber: 7 )
38823882 } } ( )
3883- try { if let v = _storage. _singularFixed64 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3883+ try { if let v = _storage. _singularFixed64 {
38843884 try visitor. visitSingularFixed64Field ( value: v, fieldNumber: 8 )
38853885 } } ( )
3886- try { if let v = _storage. _singularSfixed32 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3886+ try { if let v = _storage. _singularSfixed32 {
38873887 try visitor. visitSingularSFixed32Field ( value: v, fieldNumber: 9 )
38883888 } } ( )
3889- try { if let v = _storage. _singularSfixed64 ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3889+ try { if let v = _storage. _singularSfixed64 {
38903890 try visitor. visitSingularSFixed64Field ( value: v, fieldNumber: 10 )
38913891 } } ( )
3892- try { if let v = _storage. _singularFloat ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3892+ try { if let v = _storage. _singularFloat {
38933893 try visitor. visitSingularFloatField ( value: v, fieldNumber: 11 )
38943894 } } ( )
3895- try { if let v = _storage. _singularDouble ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
3895+ try { if let v = _storage. _singularDouble {
38963896 try visitor. visitSingularDoubleField ( value: v, fieldNumber: 12 )
38973897 } } ( )
3898- try { if let v = _storage. _singularBool ?? ( alwaysVisitPrimitiveFields ? false : nil ) {
3898+ try { if let v = _storage. _singularBool {
38993899 try visitor. visitSingularBoolField ( value: v, fieldNumber: 13 )
39003900 } } ( )
3901- try { if let v = _storage. _singularString ?? ( alwaysVisitPrimitiveFields ? String ( ) : nil ) {
3901+ try { if let v = _storage. _singularString {
39023902 try visitor. visitSingularStringField ( value: v, fieldNumber: 14 )
39033903 } } ( )
3904- try { if let v = _storage. _singularBytes ?? ( alwaysVisitPrimitiveFields ? Data ( ) : nil ) {
3904+ try { if let v = _storage. _singularBytes {
39053905 try visitor. visitSingularBytesField ( value: v, fieldNumber: 15 )
39063906 } } ( )
3907- try { if let v = _storage. _singularEnum ?? ( alwaysVisitPrimitiveFields ? SwiftProtoTesting_Fuzz_AnEnum . zero : nil ) {
3907+ try { if let v = _storage. _singularEnum {
39083908 try visitor. visitSingularEnumField ( value: v, fieldNumber: 16 )
39093909 } } ( )
39103910 try { if let v = _storage. _singularGroup {
@@ -5002,12 +5002,11 @@ extension SwiftProtoTesting_Fuzz_Message.SingularGroup: SwiftProtobuf.Message, S
50025002 }
50035003
50045004 public func traverse< V: SwiftProtobuf . Visitor > ( visitor: inout V ) throws {
5005- let alwaysVisitPrimitiveFields = visitor. traversalOptions. alwaysVisitPrimitiveFields
50065005 // The use of inline closures is to circumvent an issue where the compiler
50075006 // allocates stack space for every if/case branch local when no optimizations
50085007 // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
50095008 // https://github.com/apple/swift-protobuf/issues/1182
5010- try { if let v = self . _groupField ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
5009+ try { if let v = self . _groupField {
50115010 try visitor. visitSingularInt32Field ( value: v, fieldNumber: 18 )
50125011 } } ( )
50135012 try unknownFields. traverse ( visitor: & visitor)
@@ -5039,12 +5038,11 @@ extension SwiftProtoTesting_Fuzz_Message.RepeatedGroup: SwiftProtobuf.Message, S
50395038 }
50405039
50415040 public func traverse< V: SwiftProtobuf . Visitor > ( visitor: inout V ) throws {
5042- let alwaysVisitPrimitiveFields = visitor. traversalOptions. alwaysVisitPrimitiveFields
50435041 // The use of inline closures is to circumvent an issue where the compiler
50445042 // allocates stack space for every if/case branch local when no optimizations
50455043 // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
50465044 // https://github.com/apple/swift-protobuf/issues/1182
5047- try { if let v = self . _groupField ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
5045+ try { if let v = self . _groupField {
50485046 try visitor. visitSingularInt32Field ( value: v, fieldNumber: 48 )
50495047 } } ( )
50505048 try unknownFields. traverse ( visitor: & visitor)
@@ -5076,12 +5074,11 @@ extension SwiftProtoTesting_Fuzz_Message.OneofGroup: SwiftProtobuf.Message, Swif
50765074 }
50775075
50785076 public func traverse< V: SwiftProtobuf . Visitor > ( visitor: inout V ) throws {
5079- let alwaysVisitPrimitiveFields = visitor. traversalOptions. alwaysVisitPrimitiveFields
50805077 // The use of inline closures is to circumvent an issue where the compiler
50815078 // allocates stack space for every if/case branch local when no optimizations
50825079 // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
50835080 // https://github.com/apple/swift-protobuf/issues/1182
5084- try { if let v = self . _groupField ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
5081+ try { if let v = self . _groupField {
50855082 try visitor. visitSingularInt32Field ( value: v, fieldNumber: 78 )
50865083 } } ( )
50875084 try unknownFields. traverse ( visitor: & visitor)
@@ -5138,12 +5135,11 @@ extension SwiftProtoTesting_Fuzz_SingularGroup_ext: SwiftProtobuf.Message, Swift
51385135 }
51395136
51405137 public func traverse< V: SwiftProtobuf . Visitor > ( visitor: inout V ) throws {
5141- let alwaysVisitPrimitiveFields = visitor. traversalOptions. alwaysVisitPrimitiveFields
51425138 // The use of inline closures is to circumvent an issue where the compiler
51435139 // allocates stack space for every if/case branch local when no optimizations
51445140 // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
51455141 // https://github.com/apple/swift-protobuf/issues/1182
5146- try { if let v = self . _groupField ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
5142+ try { if let v = self . _groupField {
51475143 try visitor. visitSingularInt32Field ( value: v, fieldNumber: 1018 )
51485144 } } ( )
51495145 try unknownFields. traverse ( visitor: & visitor)
@@ -5175,12 +5171,11 @@ extension SwiftProtoTesting_Fuzz_RepeatedGroup_ext: SwiftProtobuf.Message, Swift
51755171 }
51765172
51775173 public func traverse< V: SwiftProtobuf . Visitor > ( visitor: inout V ) throws {
5178- let alwaysVisitPrimitiveFields = visitor. traversalOptions. alwaysVisitPrimitiveFields
51795174 // The use of inline closures is to circumvent an issue where the compiler
51805175 // allocates stack space for every if/case branch local when no optimizations
51815176 // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
51825177 // https://github.com/apple/swift-protobuf/issues/1182
5183- try { if let v = self . _groupField ?? ( alwaysVisitPrimitiveFields ? 0 : nil ) {
5178+ try { if let v = self . _groupField {
51845179 try visitor. visitSingularInt32Field ( value: v, fieldNumber: 1048 )
51855180 } } ( )
51865181 try unknownFields. traverse ( visitor: & visitor)
0 commit comments