Skip to content

Commit

Permalink
Bump the source compat version checks.
Browse files Browse the repository at this point in the history
- Update generated_swift_names_*.
- Regenerate all files.
  • Loading branch information
thomasvl committed Mar 7, 2022
1 parent 44acb8f commit 63e341f
Show file tree
Hide file tree
Showing 158 changed files with 1,745 additions and 2,369 deletions.
4 changes: 2 additions & 2 deletions FuzzTesting/Sources/FuzzCommon/fuzz_testing.pb.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import SwiftProtobuf
// Please ensure that you are building against the same version of the API
// that was used to generate this file.
fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
typealias Version = _2
struct _3: SwiftProtobuf.ProtobufAPIVersion_3 {}
typealias Version = _3
}

public enum Fuzz_Testing_AnEnum: SwiftProtobuf.Enum {
Expand Down
175 changes: 86 additions & 89 deletions Protos/generated_swift_names_enum_cases.proto
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ enum GeneratedSwiftReservedEnum {
proto3DefaultValue = 605;
proto3Optional = 606;
ProtobufAPIVersionCheck = 607;
ProtobufAPIVersion_2 = 608;
ProtobufAPIVersion_3 = 608;
ProtobufBool = 609;
ProtobufBytes = 610;
ProtobufDouble = 611;
Expand Down Expand Up @@ -786,92 +786,89 @@ enum GeneratedSwiftReservedEnum {
unpackTo = 779;
UnsafeBufferPointer = 780;
UnsafeMutablePointer = 781;
UnsafeMutableRawBufferPointer = 782;
UnsafeMutableRawPointer = 783;
UnsafeRawBufferPointer = 784;
UnsafeRawPointer = 785;
updatedOptions = 786;
url = 787;
utf8 = 788;
utf8Ptr = 789;
utf8ToDouble = 790;
UTF8View = 791;
v = 792;
value = 793;
valueField = 794;
values = 795;
ValueType = 796;
var = 797;
Version = 798;
versionString = 799;
visitExtensionFields = 800;
visitExtensionFieldsAsMessageSet = 801;
visitMapField = 802;
visitor = 803;
visitPacked = 804;
visitPackedBoolField = 805;
visitPackedDoubleField = 806;
visitPackedEnumField = 807;
visitPackedFixed32Field = 808;
visitPackedFixed64Field = 809;
visitPackedFloatField = 810;
visitPackedInt32Field = 811;
visitPackedInt64Field = 812;
visitPackedSFixed32Field = 813;
visitPackedSFixed64Field = 814;
visitPackedSInt32Field = 815;
visitPackedSInt64Field = 816;
visitPackedUInt32Field = 817;
visitPackedUInt64Field = 818;
visitRepeated = 819;
visitRepeatedBoolField = 820;
visitRepeatedBytesField = 821;
visitRepeatedDoubleField = 822;
visitRepeatedEnumField = 823;
visitRepeatedFixed32Field = 824;
visitRepeatedFixed64Field = 825;
visitRepeatedFloatField = 826;
visitRepeatedGroupField = 827;
visitRepeatedInt32Field = 828;
visitRepeatedInt64Field = 829;
visitRepeatedMessageField = 830;
visitRepeatedSFixed32Field = 831;
visitRepeatedSFixed64Field = 832;
visitRepeatedSInt32Field = 833;
visitRepeatedSInt64Field = 834;
visitRepeatedStringField = 835;
visitRepeatedUInt32Field = 836;
visitRepeatedUInt64Field = 837;
visitSingular = 838;
visitSingularBoolField = 839;
visitSingularBytesField = 840;
visitSingularDoubleField = 841;
visitSingularEnumField = 842;
visitSingularFixed32Field = 843;
visitSingularFixed64Field = 844;
visitSingularFloatField = 845;
visitSingularGroupField = 846;
visitSingularInt32Field = 847;
visitSingularInt64Field = 848;
visitSingularMessageField = 849;
visitSingularSFixed32Field = 850;
visitSingularSFixed64Field = 851;
visitSingularSInt32Field = 852;
visitSingularSInt64Field = 853;
visitSingularStringField = 854;
visitSingularUInt32Field = 855;
visitSingularUInt64Field = 856;
visitUnknown = 857;
wasDecoded = 858;
weak = 859;
weakDependency = 860;
where = 861;
wireFormat = 862;
with = 863;
withUnsafeBytes = 864;
withUnsafeMutableBytes = 865;
work = 866;
WrappedType = 867;
written = 868;
yday = 869;
UnsafeMutableRawPointer = 782;
UnsafeRawBufferPointer = 783;
UnsafeRawPointer = 784;
updatedOptions = 785;
url = 786;
utf8 = 787;
utf8Ptr = 788;
utf8ToDouble = 789;
UTF8View = 790;
v = 791;
value = 792;
valueField = 793;
values = 794;
ValueType = 795;
var = 796;
Version = 797;
versionString = 798;
visitExtensionFields = 799;
visitExtensionFieldsAsMessageSet = 800;
visitMapField = 801;
visitor = 802;
visitPacked = 803;
visitPackedBoolField = 804;
visitPackedDoubleField = 805;
visitPackedEnumField = 806;
visitPackedFixed32Field = 807;
visitPackedFixed64Field = 808;
visitPackedFloatField = 809;
visitPackedInt32Field = 810;
visitPackedInt64Field = 811;
visitPackedSFixed32Field = 812;
visitPackedSFixed64Field = 813;
visitPackedSInt32Field = 814;
visitPackedSInt64Field = 815;
visitPackedUInt32Field = 816;
visitPackedUInt64Field = 817;
visitRepeated = 818;
visitRepeatedBoolField = 819;
visitRepeatedBytesField = 820;
visitRepeatedDoubleField = 821;
visitRepeatedEnumField = 822;
visitRepeatedFixed32Field = 823;
visitRepeatedFixed64Field = 824;
visitRepeatedFloatField = 825;
visitRepeatedGroupField = 826;
visitRepeatedInt32Field = 827;
visitRepeatedInt64Field = 828;
visitRepeatedMessageField = 829;
visitRepeatedSFixed32Field = 830;
visitRepeatedSFixed64Field = 831;
visitRepeatedSInt32Field = 832;
visitRepeatedSInt64Field = 833;
visitRepeatedStringField = 834;
visitRepeatedUInt32Field = 835;
visitRepeatedUInt64Field = 836;
visitSingular = 837;
visitSingularBoolField = 838;
visitSingularBytesField = 839;
visitSingularDoubleField = 840;
visitSingularEnumField = 841;
visitSingularFixed32Field = 842;
visitSingularFixed64Field = 843;
visitSingularFloatField = 844;
visitSingularGroupField = 845;
visitSingularInt32Field = 846;
visitSingularInt64Field = 847;
visitSingularMessageField = 848;
visitSingularSFixed32Field = 849;
visitSingularSFixed64Field = 850;
visitSingularSInt32Field = 851;
visitSingularSInt64Field = 852;
visitSingularStringField = 853;
visitSingularUInt32Field = 854;
visitSingularUInt64Field = 855;
visitUnknown = 856;
wasDecoded = 857;
weak = 858;
weakDependency = 859;
where = 860;
wireFormat = 861;
with = 862;
work = 863;
WrappedType = 864;
written = 865;
yday = 866;
}
5 changes: 1 addition & 4 deletions Protos/generated_swift_names_enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ message GeneratedSwiftReservedEnums {
enum proto3DefaultValue { NONE_proto3DefaultValue = 0; }
enum proto3Optional { NONE_proto3Optional = 0; }
enum ProtobufAPIVersionCheck { NONE_ProtobufAPIVersionCheck = 0; }
enum ProtobufAPIVersion_2 { NONE_ProtobufAPIVersion_2 = 0; }
enum ProtobufAPIVersion_3 { NONE_ProtobufAPIVersion_3 = 0; }
enum ProtobufBool { NONE_ProtobufBool = 0; }
enum ProtobufBytes { NONE_ProtobufBytes = 0; }
enum ProtobufDouble { NONE_ProtobufDouble = 0; }
Expand Down Expand Up @@ -785,7 +785,6 @@ message GeneratedSwiftReservedEnums {
enum unpackTo { NONE_unpackTo = 0; }
enum UnsafeBufferPointer { NONE_UnsafeBufferPointer = 0; }
enum UnsafeMutablePointer { NONE_UnsafeMutablePointer = 0; }
enum UnsafeMutableRawBufferPointer { NONE_UnsafeMutableRawBufferPointer = 0; }
enum UnsafeMutableRawPointer { NONE_UnsafeMutableRawPointer = 0; }
enum UnsafeRawBufferPointer { NONE_UnsafeRawBufferPointer = 0; }
enum UnsafeRawPointer { NONE_UnsafeRawPointer = 0; }
Expand Down Expand Up @@ -867,8 +866,6 @@ message GeneratedSwiftReservedEnums {
enum where { NONE_where = 0; }
enum wireFormat { NONE_wireFormat = 0; }
enum with { NONE_with = 0; }
enum withUnsafeBytes { NONE_withUnsafeBytes = 0; }
enum withUnsafeMutableBytes { NONE_withUnsafeMutableBytes = 0; }
enum work { NONE_work = 0; }
enum WrappedType { NONE_WrappedType = 0; }
enum written { NONE_written = 0; }
Expand Down
Loading

0 comments on commit 63e341f

Please sign in to comment.