From 657cf8bd9181755488af68d515856f4ae9bedbfa Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Tue, 25 Mar 2025 11:19:25 -0700 Subject: [PATCH 1/2] Remove dllexport attribute on variable definition. It is unnecessary and seems to be confusing MinGW into thinking it is a definition with internal linkage. Fixes https://github.com/protocolbuffers/protobuf/issues/20822 PiperOrigin-RevId: 740418802 --- src/google/protobuf/compiler/cpp/message.cc | 7 +- .../compiler/java/java_features.pb.cc | 7 +- src/google/protobuf/compiler/plugin.pb.cc | 28 +-- src/google/protobuf/cpp_features.pb.cc | 7 +- src/google/protobuf/descriptor.pb.cc | 231 ++++++++---------- 5 files changed, 120 insertions(+), 160 deletions(-) diff --git a/src/google/protobuf/compiler/cpp/message.cc b/src/google/protobuf/compiler/cpp/message.cc index 41eb596c70dc6..cf91a00acd21a 100644 --- a/src/google/protobuf/compiler/cpp/message.cc +++ b/src/google/protobuf/compiler/cpp/message.cc @@ -4206,10 +4206,9 @@ void MessageGenerator::GenerateClassData(io::Printer* p) { }; } - PROTOBUF_CONSTINIT$ dllexport_decl$ - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const $pbi$::ClassDataFull - $classname$_class_data_ = - $classname$::InternalGenerateClassData_(); + PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + $pbi$::ClassDataFull $classname$_class_data_ = + $classname$::InternalGenerateClassData_(); const $pbi$::ClassData* $nonnull$ $classname$::GetClassData() const { $pin_weak_descriptor$; diff --git a/src/google/protobuf/compiler/java/java_features.pb.cc b/src/google/protobuf/compiler/java/java_features.pb.cc index a3aacab519542..c3913ee744be6 100644 --- a/src/google/protobuf/compiler/java/java_features.pb.cc +++ b/src/google/protobuf/compiler/java/java_features.pb.cc @@ -224,10 +224,9 @@ constexpr auto JavaFeatures::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - JavaFeatures_class_data_ = - JavaFeatures::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JavaFeatures_class_data_ = + JavaFeatures::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL JavaFeatures::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&JavaFeatures_class_data_); diff --git a/src/google/protobuf/compiler/plugin.pb.cc b/src/google/protobuf/compiler/plugin.pb.cc index 5f3e8a2ba956d..e38d604efab0c 100644 --- a/src/google/protobuf/compiler/plugin.pb.cc +++ b/src/google/protobuf/compiler/plugin.pb.cc @@ -412,10 +412,9 @@ constexpr auto Version::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Version_class_data_ = - Version::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Version_class_data_ = + Version::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Version::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Version_class_data_); @@ -782,10 +781,9 @@ constexpr auto CodeGeneratorRequest::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - CodeGeneratorRequest_class_data_ = - CodeGeneratorRequest::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CodeGeneratorRequest_class_data_ = + CodeGeneratorRequest::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CodeGeneratorRequest::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorRequest_class_data_); @@ -1188,10 +1186,9 @@ constexpr auto CodeGeneratorResponse_File::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - CodeGeneratorResponse_File_class_data_ = - CodeGeneratorResponse_File::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_File_class_data_ = + CodeGeneratorResponse_File::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CodeGeneratorResponse_File::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_File_class_data_); @@ -1561,10 +1558,9 @@ constexpr auto CodeGeneratorResponse::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - CodeGeneratorResponse_class_data_ = - CodeGeneratorResponse::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_class_data_ = + CodeGeneratorResponse::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CodeGeneratorResponse::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_class_data_); diff --git a/src/google/protobuf/cpp_features.pb.cc b/src/google/protobuf/cpp_features.pb.cc index ab772a66ff46e..42132e15dc937 100644 --- a/src/google/protobuf/cpp_features.pb.cc +++ b/src/google/protobuf/cpp_features.pb.cc @@ -218,10 +218,9 @@ constexpr auto CppFeatures::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - CppFeatures_class_data_ = - CppFeatures::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CppFeatures_class_data_ = + CppFeatures::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CppFeatures::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CppFeatures_class_data_); diff --git a/src/google/protobuf/descriptor.pb.cc b/src/google/protobuf/descriptor.pb.cc index 7c82d628a82f4..9dcd88ff0a2a2 100644 --- a/src/google/protobuf/descriptor.pb.cc +++ b/src/google/protobuf/descriptor.pb.cc @@ -2459,10 +2459,9 @@ constexpr auto FileDescriptorSet::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FileDescriptorSet_class_data_ = - FileDescriptorSet::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FileDescriptorSet_class_data_ = + FileDescriptorSet::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FileDescriptorSet::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorSet_class_data_); @@ -2793,10 +2792,9 @@ constexpr auto FileDescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FileDescriptorProto_class_data_ = - FileDescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FileDescriptorProto_class_data_ = + FileDescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FileDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorProto_class_data_); @@ -3427,10 +3425,9 @@ constexpr auto DescriptorProto_ExtensionRange::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - DescriptorProto_ExtensionRange_class_data_ = - DescriptorProto_ExtensionRange::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange_class_data_ = + DescriptorProto_ExtensionRange::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL DescriptorProto_ExtensionRange::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ExtensionRange_class_data_); @@ -3737,10 +3734,9 @@ constexpr auto DescriptorProto_ReservedRange::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - DescriptorProto_ReservedRange_class_data_ = - DescriptorProto_ReservedRange::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange_class_data_ = + DescriptorProto_ReservedRange::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL DescriptorProto_ReservedRange::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ReservedRange_class_data_); @@ -4076,10 +4072,9 @@ constexpr auto DescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - DescriptorProto_class_data_ = - DescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DescriptorProto_class_data_ = + DescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL DescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_class_data_); @@ -4641,10 +4636,9 @@ constexpr auto ExtensionRangeOptions_Declaration::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - ExtensionRangeOptions_Declaration_class_data_ = - ExtensionRangeOptions_Declaration::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration_class_data_ = + ExtensionRangeOptions_Declaration::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ExtensionRangeOptions_Declaration::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_Declaration_class_data_); @@ -5024,10 +5018,9 @@ constexpr auto ExtensionRangeOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - ExtensionRangeOptions_class_data_ = - ExtensionRangeOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_class_data_ = + ExtensionRangeOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ExtensionRangeOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_class_data_); @@ -5430,10 +5423,9 @@ constexpr auto FieldDescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FieldDescriptorProto_class_data_ = - FieldDescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FieldDescriptorProto_class_data_ = + FieldDescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldDescriptorProto_class_data_); @@ -5968,10 +5960,9 @@ constexpr auto OneofDescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - OneofDescriptorProto_class_data_ = - OneofDescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull OneofDescriptorProto_class_data_ = + OneofDescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL OneofDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&OneofDescriptorProto_class_data_); @@ -6258,10 +6249,9 @@ constexpr auto EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_ }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - EnumDescriptorProto_EnumReservedRange_class_data_ = - EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange_class_data_ = + EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumDescriptorProto_EnumReservedRange::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_EnumReservedRange_class_data_); @@ -6567,10 +6557,9 @@ constexpr auto EnumDescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - EnumDescriptorProto_class_data_ = - EnumDescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_class_data_ = + EnumDescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_class_data_); @@ -6970,10 +6959,9 @@ constexpr auto EnumValueDescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - EnumValueDescriptorProto_class_data_ = - EnumValueDescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto_class_data_ = + EnumValueDescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumValueDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueDescriptorProto_class_data_); @@ -7317,10 +7305,9 @@ constexpr auto ServiceDescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - ServiceDescriptorProto_class_data_ = - ServiceDescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto_class_data_ = + ServiceDescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ServiceDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ServiceDescriptorProto_class_data_); @@ -7674,10 +7661,9 @@ constexpr auto MethodDescriptorProto::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - MethodDescriptorProto_class_data_ = - MethodDescriptorProto::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull MethodDescriptorProto_class_data_ = + MethodDescriptorProto::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL MethodDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&MethodDescriptorProto_class_data_); @@ -8137,10 +8123,9 @@ constexpr auto FileOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FileOptions_class_data_ = - FileOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FileOptions_class_data_ = + FileOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FileOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FileOptions_class_data_); @@ -8943,10 +8928,9 @@ constexpr auto MessageOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - MessageOptions_class_data_ = - MessageOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull MessageOptions_class_data_ = + MessageOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL MessageOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&MessageOptions_class_data_); @@ -9344,10 +9328,9 @@ constexpr auto FieldOptions_EditionDefault::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FieldOptions_EditionDefault_class_data_ = - FieldOptions_EditionDefault::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault_class_data_ = + FieldOptions_EditionDefault::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldOptions_EditionDefault::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_EditionDefault_class_data_); @@ -9637,10 +9620,9 @@ constexpr auto FieldOptions_FeatureSupport::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FieldOptions_FeatureSupport_class_data_ = - FieldOptions_FeatureSupport::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport_class_data_ = + FieldOptions_FeatureSupport::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldOptions_FeatureSupport::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_FeatureSupport_class_data_); @@ -10021,10 +10003,9 @@ constexpr auto FieldOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FieldOptions_class_data_ = - FieldOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FieldOptions_class_data_ = + FieldOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_class_data_); @@ -10620,10 +10601,9 @@ constexpr auto OneofOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - OneofOptions_class_data_ = - OneofOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull OneofOptions_class_data_ = + OneofOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL OneofOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&OneofOptions_class_data_); @@ -10966,10 +10946,9 @@ constexpr auto EnumOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - EnumOptions_class_data_ = - EnumOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull EnumOptions_class_data_ = + EnumOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumOptions_class_data_); @@ -11374,10 +11353,9 @@ constexpr auto EnumValueOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - EnumValueOptions_class_data_ = - EnumValueOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull EnumValueOptions_class_data_ = + EnumValueOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumValueOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueOptions_class_data_); @@ -11791,10 +11769,9 @@ constexpr auto ServiceOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - ServiceOptions_class_data_ = - ServiceOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull ServiceOptions_class_data_ = + ServiceOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ServiceOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ServiceOptions_class_data_); @@ -12163,10 +12140,9 @@ constexpr auto MethodOptions::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - MethodOptions_class_data_ = - MethodOptions::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull MethodOptions_class_data_ = + MethodOptions::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL MethodOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&MethodOptions_class_data_); @@ -12534,10 +12510,9 @@ constexpr auto UninterpretedOption_NamePart::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - UninterpretedOption_NamePart_class_data_ = - UninterpretedOption_NamePart::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart_class_data_ = + UninterpretedOption_NamePart::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL UninterpretedOption_NamePart::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_NamePart_class_data_); @@ -12849,10 +12824,9 @@ constexpr auto UninterpretedOption::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - UninterpretedOption_class_data_ = - UninterpretedOption::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UninterpretedOption_class_data_ = + UninterpretedOption::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL UninterpretedOption::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_class_data_); @@ -13291,10 +13265,9 @@ constexpr auto FeatureSet::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FeatureSet_class_data_ = - FeatureSet::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FeatureSet_class_data_ = + FeatureSet::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSet::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_class_data_); @@ -13710,10 +13683,9 @@ constexpr auto FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClas }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FeatureSetDefaults_FeatureSetEditionDefault_class_data_ = - FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault_class_data_ = + FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSetDefaults_FeatureSetEditionDefault::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_FeatureSetEditionDefault_class_data_); @@ -14065,10 +14037,9 @@ constexpr auto FeatureSetDefaults::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FeatureSetDefaults_class_data_ = - FeatureSetDefaults::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_class_data_ = + FeatureSetDefaults::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSetDefaults::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_class_data_); @@ -14413,10 +14384,9 @@ constexpr auto SourceCodeInfo_Location::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - SourceCodeInfo_Location_class_data_ = - SourceCodeInfo_Location::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location_class_data_ = + SourceCodeInfo_Location::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SourceCodeInfo_Location::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_Location_class_data_); @@ -14791,10 +14761,9 @@ constexpr auto SourceCodeInfo::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - SourceCodeInfo_class_data_ = - SourceCodeInfo::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SourceCodeInfo_class_data_ = + SourceCodeInfo::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SourceCodeInfo::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_class_data_); @@ -15080,10 +15049,9 @@ constexpr auto GeneratedCodeInfo_Annotation::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - GeneratedCodeInfo_Annotation_class_data_ = - GeneratedCodeInfo_Annotation::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation_class_data_ = + GeneratedCodeInfo_Annotation::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GeneratedCodeInfo_Annotation::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_Annotation_class_data_); @@ -15447,10 +15415,9 @@ constexpr auto GeneratedCodeInfo::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - GeneratedCodeInfo_class_data_ = - GeneratedCodeInfo::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_class_data_ = + GeneratedCodeInfo::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GeneratedCodeInfo::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_class_data_); From fdf6d0e10a95e3c2bb6f05b2050b4ae16c68744c Mon Sep 17 00:00:00 2001 From: Sandy Zhang Date: Wed, 26 Mar 2025 10:29:00 -0400 Subject: [PATCH 2/2] staleness update --- src/google/protobuf/any.pb.cc | 7 ++- src/google/protobuf/api.pb.cc | 21 ++++---- src/google/protobuf/duration.pb.cc | 7 ++- src/google/protobuf/empty.pb.cc | 7 ++- src/google/protobuf/field_mask.pb.cc | 7 ++- src/google/protobuf/source_context.pb.cc | 7 ++- src/google/protobuf/struct.pb.cc | 28 +++++------ src/google/protobuf/timestamp.pb.cc | 7 ++- src/google/protobuf/type.pb.cc | 35 ++++++------- src/google/protobuf/wrappers.pb.cc | 63 ++++++++++-------------- 10 files changed, 81 insertions(+), 108 deletions(-) diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index 6b1a26b5bafcd..0121a4627bc51 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -228,10 +228,9 @@ constexpr auto Any::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Any_class_data_ = - Any::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Any_class_data_ = + Any::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Any::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Any_class_data_); diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index 9ec039bc1064c..5ee38e20b8209 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -398,10 +398,9 @@ constexpr auto Api::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Api_class_data_ = - Api::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Api_class_data_ = + Api::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Api::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Api_class_data_); @@ -897,10 +896,9 @@ constexpr auto Method::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Method_class_data_ = - Method::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Method_class_data_ = + Method::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Method::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Method_class_data_); @@ -1364,10 +1362,9 @@ constexpr auto Mixin::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Mixin_class_data_ = - Mixin::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Mixin_class_data_ = + Mixin::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Mixin::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Mixin_class_data_); diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index 37f054d3291c1..0fe2ac561a45c 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -197,10 +197,9 @@ constexpr auto Duration::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Duration_class_data_ = - Duration::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Duration_class_data_ = + Duration::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Duration::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Duration_class_data_); diff --git a/src/google/protobuf/empty.pb.cc b/src/google/protobuf/empty.pb.cc index e300e0eade4b5..8708fc6f16e4a 100644 --- a/src/google/protobuf/empty.pb.cc +++ b/src/google/protobuf/empty.pb.cc @@ -159,10 +159,9 @@ constexpr auto Empty::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Empty_class_data_ = - Empty::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Empty_class_data_ = + Empty::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Empty::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Empty_class_data_); diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 59e7ea7e8795d..4a7d93d2e62c0 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -208,10 +208,9 @@ constexpr auto FieldMask::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FieldMask_class_data_ = - FieldMask::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FieldMask_class_data_ = + FieldMask::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldMask::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldMask_class_data_); diff --git a/src/google/protobuf/source_context.pb.cc b/src/google/protobuf/source_context.pb.cc index 1abe985b0999e..4c1d6d2fc1700 100644 --- a/src/google/protobuf/source_context.pb.cc +++ b/src/google/protobuf/source_context.pb.cc @@ -205,10 +205,9 @@ constexpr auto SourceContext::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - SourceContext_class_data_ = - SourceContext::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SourceContext_class_data_ = + SourceContext::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SourceContext::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&SourceContext_class_data_); diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index 89d927b605163..381ae8648a87c 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -277,10 +277,9 @@ constexpr auto Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Struct_FieldsEntry_DoNotUse_class_data_ = - Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Struct_FieldsEntry_DoNotUse_class_data_ = + Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Struct_FieldsEntry_DoNotUse::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Struct_FieldsEntry_DoNotUse_class_data_); @@ -438,10 +437,9 @@ constexpr auto Struct::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Struct_class_data_ = - Struct::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Struct_class_data_ = + Struct::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Struct::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Struct_class_data_); @@ -799,10 +797,9 @@ constexpr auto Value::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Value_class_data_ = - Value::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Value_class_data_ = + Value::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Value::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Value_class_data_); @@ -1177,10 +1174,9 @@ constexpr auto ListValue::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - ListValue_class_data_ = - ListValue::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull ListValue_class_data_ = + ListValue::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ListValue::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ListValue_class_data_); diff --git a/src/google/protobuf/timestamp.pb.cc b/src/google/protobuf/timestamp.pb.cc index bae6e9b789674..52316faba1b5e 100644 --- a/src/google/protobuf/timestamp.pb.cc +++ b/src/google/protobuf/timestamp.pb.cc @@ -197,10 +197,9 @@ constexpr auto Timestamp::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Timestamp_class_data_ = - Timestamp::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Timestamp_class_data_ = + Timestamp::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Timestamp::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Timestamp_class_data_); diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index 5b6e2fc4928bf..a6aa82d54d87f 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -545,10 +545,9 @@ constexpr auto Type::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Type_class_data_ = - Type::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Type_class_data_ = + Type::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Type::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Type_class_data_); @@ -1041,10 +1040,9 @@ constexpr auto Field::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Field_class_data_ = - Field::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Field_class_data_ = + Field::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Field::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Field_class_data_); @@ -1645,10 +1643,9 @@ constexpr auto Enum::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Enum_class_data_ = - Enum::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Enum_class_data_ = + Enum::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Enum::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Enum_class_data_); @@ -2095,10 +2092,9 @@ constexpr auto EnumValue::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - EnumValue_class_data_ = - EnumValue::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull EnumValue_class_data_ = + EnumValue::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumValue::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumValue_class_data_); @@ -2433,10 +2429,9 @@ constexpr auto Option::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Option_class_data_ = - Option::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Option_class_data_ = + Option::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Option::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Option_class_data_); diff --git a/src/google/protobuf/wrappers.pb.cc b/src/google/protobuf/wrappers.pb.cc index bef05a14758ab..fc2323978cfd8 100644 --- a/src/google/protobuf/wrappers.pb.cc +++ b/src/google/protobuf/wrappers.pb.cc @@ -495,10 +495,9 @@ constexpr auto DoubleValue::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - DoubleValue_class_data_ = - DoubleValue::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DoubleValue_class_data_ = + DoubleValue::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL DoubleValue::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&DoubleValue_class_data_); @@ -729,10 +728,9 @@ constexpr auto FloatValue::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - FloatValue_class_data_ = - FloatValue::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull FloatValue_class_data_ = + FloatValue::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FloatValue::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FloatValue_class_data_); @@ -963,10 +961,9 @@ constexpr auto Int64Value::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Int64Value_class_data_ = - Int64Value::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Int64Value_class_data_ = + Int64Value::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Int64Value::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Int64Value_class_data_); @@ -1198,10 +1195,9 @@ constexpr auto UInt64Value::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - UInt64Value_class_data_ = - UInt64Value::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UInt64Value_class_data_ = + UInt64Value::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL UInt64Value::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&UInt64Value_class_data_); @@ -1433,10 +1429,9 @@ constexpr auto Int32Value::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - Int32Value_class_data_ = - Int32Value::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Int32Value_class_data_ = + Int32Value::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Int32Value::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Int32Value_class_data_); @@ -1668,10 +1663,9 @@ constexpr auto UInt32Value::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - UInt32Value_class_data_ = - UInt32Value::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UInt32Value_class_data_ = + UInt32Value::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL UInt32Value::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&UInt32Value_class_data_); @@ -1903,10 +1897,9 @@ constexpr auto BoolValue::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - BoolValue_class_data_ = - BoolValue::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull BoolValue_class_data_ = + BoolValue::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL BoolValue::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&BoolValue_class_data_); @@ -2151,10 +2144,9 @@ constexpr auto StringValue::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - StringValue_class_data_ = - StringValue::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull StringValue_class_data_ = + StringValue::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL StringValue::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&StringValue_class_data_); @@ -2413,10 +2405,9 @@ constexpr auto BytesValue::InternalGenerateClassData_() { }; } -PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull - BytesValue_class_data_ = - BytesValue::InternalGenerateClassData_(); +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull BytesValue_class_data_ = + BytesValue::InternalGenerateClassData_(); const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL BytesValue::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&BytesValue_class_data_);