Skip to content

Commit

Permalink
Silence warnings about extra semicolon in non-TSAN builds. (#13820)
Browse files Browse the repository at this point in the history
* Silence warnings about extra semicolon in non-TSAN builds.

Fixes #13787

PiperOrigin-RevId: 561528198

* fix merge conflicts

* Upgrade rules_python dependency.

PiperOrigin-RevId: 559226153

* actually update staleness files

---------

Co-authored-by: Mike Kruskal <[email protected]>
  • Loading branch information
zhangskz and mkruskal-google authored Sep 1, 2023
1 parent 398a84c commit 3465661
Show file tree
Hide file tree
Showing 20 changed files with 179 additions and 130 deletions.
Binary file modified csharp/src/Google.Protobuf.Test/testprotos.pb
Binary file not shown.
14 changes: 8 additions & 6 deletions csharp/src/Google.Protobuf/Compiler/Plugin.pb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,18 @@ static PluginReflection() {
"LnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG8SRQoXc291cmNlX2ZpbGVf",
"ZGVzY3JpcHRvcnMYESADKAsyJC5nb29nbGUucHJvdG9idWYuRmlsZURlc2Ny",
"aXB0b3JQcm90bxI7ChBjb21waWxlcl92ZXJzaW9uGAMgASgLMiEuZ29vZ2xl",
"LnByb3RvYnVmLmNvbXBpbGVyLlZlcnNpb24iwQIKFUNvZGVHZW5lcmF0b3JS",
"LnByb3RvYnVmLmNvbXBpbGVyLlZlcnNpb24i4AIKFUNvZGVHZW5lcmF0b3JS",
"ZXNwb25zZRINCgVlcnJvchgBIAEoCRIaChJzdXBwb3J0ZWRfZmVhdHVyZXMY",
"AiABKAQSQgoEZmlsZRgPIAMoCzI0Lmdvb2dsZS5wcm90b2J1Zi5jb21waWxl",
"ci5Db2RlR2VuZXJhdG9yUmVzcG9uc2UuRmlsZRp/CgRGaWxlEgwKBG5hbWUY",
"ASABKAkSFwoPaW5zZXJ0aW9uX3BvaW50GAIgASgJEg8KB2NvbnRlbnQYDyAB",
"KAkSPwoTZ2VuZXJhdGVkX2NvZGVfaW5mbxgQIAEoCzIiLmdvb2dsZS5wcm90",
"b2J1Zi5HZW5lcmF0ZWRDb2RlSW5mbyI4CgdGZWF0dXJlEhAKDEZFQVRVUkVf",
"Tk9ORRAAEhsKF0ZFQVRVUkVfUFJPVE8zX09QVElPTkFMEAFCcgocY29tLmdv",
"b2dsZS5wcm90b2J1Zi5jb21waWxlckIMUGx1Z2luUHJvdG9zWilnb29nbGUu",
"Z29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9wbHVnaW5wYqoCGEdvb2dsZS5Q",
"cm90b2J1Zi5Db21waWxlcg=="));
"b2J1Zi5HZW5lcmF0ZWRDb2RlSW5mbyJXCgdGZWF0dXJlEhAKDEZFQVRVUkVf",
"Tk9ORRAAEhsKF0ZFQVRVUkVfUFJPVE8zX09QVElPTkFMEAESHQoZRkVBVFVS",
"RV9TVVBQT1JUU19FRElUSU9OUxACQnIKHGNvbS5nb29nbGUucHJvdG9idWYu",
"Y29tcGlsZXJCDFBsdWdpblByb3Rvc1opZ29vZ2xlLmdvbGFuZy5vcmcvcHJv",
"dG9idWYvdHlwZXMvcGx1Z2lucGKqAhhHb29nbGUuUHJvdG9idWYuQ29tcGls",
"ZXI="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down Expand Up @@ -1100,6 +1101,7 @@ public static partial class Types {
public enum Feature {
[pbr::OriginalName("FEATURE_NONE")] None = 0,
[pbr::OriginalName("FEATURE_PROTO3_OPTIONAL")] Proto3Optional = 1,
[pbr::OriginalName("FEATURE_SUPPORTS_EDITIONS")] SupportsEditions = 2,
}

/// <summary>
Expand Down
105 changes: 76 additions & 29 deletions csharp/src/Google.Protobuf/Reflection/Descriptor.pb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static DescriptorReflection() {
"dGl2ZV9pbnRfdmFsdWUYBSABKAMSFAoMZG91Ym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TiLVAQoOU291cmNl",
"Q29kZUluZm8SOgoIbG9jYXRpb24YASADKAsyKC5nb29nbGUucHJvdG9idWYu",
"U291cmNlQ29kZUluZm8uTG9jYXRpb24ahgEKCExvY2F0aW9uEhAKBHBhdGgY",
"ASADKAVCAhABEhAKBHNwYW4YAiADKAVCAhABEhgKEGxlYWRpbmdfY29tbWVu",
"dHMYAyABKAkSGQoRdHJhaWxpbmdfY29tbWVudHMYBCABKAkSIQoZbGVhZGlu",
"Z19kZXRhY2hlZF9jb21tZW50cxgGIAMoCSKcAgoRR2VuZXJhdGVkQ29kZUlu",
"Zm8SQQoKYW5ub3RhdGlvbhgBIAMoCzItLmdvb2dsZS5wcm90b2J1Zi5HZW5l",
"cmF0ZWRDb2RlSW5mby5Bbm5vdGF0aW9uGsMBCgpBbm5vdGF0aW9uEhAKBHBh",
"dGgYASADKAVCAhABEhMKC3NvdXJjZV9maWxlGAIgASgJEg0KBWJlZ2luGAMg",
"ASgFEgsKA2VuZBgEIAEoBRJICghzZW1hbnRpYxgFIAEoDjI2Lmdvb2dsZS5w",
"cm90b2J1Zi5HZW5lcmF0ZWRDb2RlSW5mby5Bbm5vdGF0aW9uLlNlbWFudGlj",
"IigKCFNlbWFudGljEggKBE5PTkUQABIHCgNTRVQQARIJCgVBTElBUxACQn4K",
"E2NvbS5nb29nbGUucHJvdG9idWZCEERlc2NyaXB0b3JQcm90b3NIAVotZ29v",
"Z2xlLmdvbGFuZy5vcmcvcHJvdG9idWYvdHlwZXMvZGVzY3JpcHRvcnBi+AEB",
"ogIDR1BCqgIaR29vZ2xlLlByb3RvYnVmLlJlZmxlY3Rpb24="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand All @@ -245,7 +246,7 @@ static DescriptorReflection() {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.ServiceOptions), global::Google.Protobuf.Reflection.ServiceOptions.Parser, new[]{ "Features", "Deprecated", "UninterpretedOption" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.MethodOptions), global::Google.Protobuf.Reflection.MethodOptions.Parser, new[]{ "Deprecated", "IdempotencyLevel", "Features", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption), global::Google.Protobuf.Reflection.UninterpretedOption.Parser, new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart), global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser, new[]{ "NamePart_", "IsExtension" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FeatureSet), global::Google.Protobuf.Reflection.FeatureSet.Parser, new[]{ "FieldPresence", "EnumType", "RepeatedFieldEncoding", "StringFieldValidation", "MessageEncoding", "JsonFormat" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.FieldPresence), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.EnumType), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FeatureSet), global::Google.Protobuf.Reflection.FeatureSet.Parser, new[]{ "FieldPresence", "EnumType", "RepeatedFieldEncoding", "StringFieldValidation", "MessageEncoding", "JsonFormat", "RawFeatures" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.FieldPresence), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.EnumType), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, new[]{ "Location" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Parser, new[]{ "Annotation" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Parser, new[]{ "Path", "SourceFile", "Begin", "End", "Semantic" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Types.Semantic) }, null, null)})
}));
Expand Down Expand Up @@ -11673,6 +11674,7 @@ public FeatureSet(FeatureSet other) : this() {
stringFieldValidation_ = other.stringFieldValidation_;
messageEncoding_ = other.messageEncoding_;
jsonFormat_ = other.jsonFormat_;
rawFeatures_ = other.rawFeatures_ != null ? other.rawFeatures_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
_extensions = pb::ExtensionSet.Clone(other._extensions);
}
Expand Down Expand Up @@ -11845,6 +11847,18 @@ public void ClearJsonFormat() {
_hasBits0 &= ~32;
}

/// <summary>Field number for the "raw_features" field.</summary>
public const int RawFeaturesFieldNumber = 999;
private global::Google.Protobuf.Reflection.FeatureSet rawFeatures_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.Reflection.FeatureSet RawFeatures {
get { return rawFeatures_; }
set {
rawFeatures_ = value;
}
}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
Expand All @@ -11866,6 +11880,7 @@ public bool Equals(FeatureSet other) {
if (StringFieldValidation != other.StringFieldValidation) return false;
if (MessageEncoding != other.MessageEncoding) return false;
if (JsonFormat != other.JsonFormat) return false;
if (!object.Equals(RawFeatures, other.RawFeatures)) return false;
if (!Equals(_extensions, other._extensions)) {
return false;
}
Expand All @@ -11882,6 +11897,7 @@ public override int GetHashCode() {
if (HasStringFieldValidation) hash ^= StringFieldValidation.GetHashCode();
if (HasMessageEncoding) hash ^= MessageEncoding.GetHashCode();
if (HasJsonFormat) hash ^= JsonFormat.GetHashCode();
if (rawFeatures_ != null) hash ^= RawFeatures.GetHashCode();
if (_extensions != null) {
hash ^= _extensions.GetHashCode();
}
Expand Down Expand Up @@ -11927,6 +11943,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(48);
output.WriteEnum((int) JsonFormat);
}
if (rawFeatures_ != null) {
output.WriteRawTag(186, 62);
output.WriteMessage(RawFeatures);
}
if (_extensions != null) {
_extensions.WriteTo(output);
}
Expand Down Expand Up @@ -11964,6 +11984,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(48);
output.WriteEnum((int) JsonFormat);
}
if (rawFeatures_ != null) {
output.WriteRawTag(186, 62);
output.WriteMessage(RawFeatures);
}
if (_extensions != null) {
_extensions.WriteTo(ref output);
}
Expand Down Expand Up @@ -11995,6 +12019,9 @@ public int CalculateSize() {
if (HasJsonFormat) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) JsonFormat);
}
if (rawFeatures_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RawFeatures);
}
if (_extensions != null) {
size += _extensions.CalculateSize();
}
Expand Down Expand Up @@ -12028,6 +12055,12 @@ public void MergeFrom(FeatureSet other) {
if (other.HasJsonFormat) {
JsonFormat = other.JsonFormat;
}
if (other.rawFeatures_ != null) {
if (rawFeatures_ == null) {
RawFeatures = new global::Google.Protobuf.Reflection.FeatureSet();
}
RawFeatures.MergeFrom(other.RawFeatures);
}
pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
Expand Down Expand Up @@ -12070,6 +12103,13 @@ public void MergeFrom(pb::CodedInputStream input) {
JsonFormat = (global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) input.ReadEnum();
break;
}
case 7994: {
if (rawFeatures_ == null) {
RawFeatures = new global::Google.Protobuf.Reflection.FeatureSet();
}
input.ReadMessage(RawFeatures);
break;
}
}
}
#endif
Expand Down Expand Up @@ -12111,6 +12151,13 @@ public void MergeFrom(pb::CodedInputStream input) {
JsonFormat = (global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) input.ReadEnum();
break;
}
case 7994: {
if (rawFeatures_ == null) {
RawFeatures = new global::Google.Protobuf.Reflection.FeatureSet();
}
input.ReadMessage(RawFeatures);
break;
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions protobuf_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def protobuf_deps():
_github_archive(
name = "rules_python",
repo = "https://github.com/bazelbuild/rules_python",
commit = "912a5051f51581784fd64094f6bdabf93f6d698f", # 0.14.0
sha256 = "a3e4b4ade7c4a52e757b16a16e94d0b2640333062180cba577d81fac087a501d",
commit = "02b521fce3c7b36b05813aa986d72777cc3ee328", # 0.24.0
sha256 = "f9e4f6acf82449324d56669bda4bdb28b48688ad2990d8b39fa5b93ed39c9ad1",
)

if not native.existing_rule("rules_ruby"):
Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/any.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/google/protobuf/api.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/cpp/message.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,7 @@ void MessageGenerator::GenerateClassDefinition(io::Printer* p) {
}

// For detecting when concurrent accessor calls cause races.
format("PROTOBUF_TSAN_DECLARE_MEMBER;\n");
format("PROTOBUF_TSAN_DECLARE_MEMBER\n");

format.Outdent();
format("};\n");
Expand Down
Loading

0 comments on commit 3465661

Please sign in to comment.