diff --git a/csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs b/csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs new file mode 100644 index 0000000000..208ce1fcb6 --- /dev/null +++ b/csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs @@ -0,0 +1,17 @@ +#region Copyright notice and license +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file or at +// https://developers.google.com/open-source/licenses/bsd +#endregion + +namespace Google.Protobuf.Reflection; + +internal sealed partial class FeatureSetDescriptor +{ + // Canonical serialized form of the edition defaults, generated by embed_edition_defaults. + private const string DefaultsBase64 = + "ChMYhAciACoMCAEQAhgCIAMoATACChMY5wciACoMCAIQARgBIAIoATABChMY6AciDAgBEAEYASACKAEwASoAIOYHKOgH"; +} diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index 91d947581c..d237774561 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -147,7 +147,7 @@ Any::Any(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Any) } -inline PROTOBUF_NDEBUG_INLINE Any::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Any::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Any& from_msg) : _has_bits_{from._has_bits_}, @@ -171,7 +171,7 @@ Any::Any( // @@protoc_insertion_point(copy_constructor:google.protobuf.Any) } -inline PROTOBUF_NDEBUG_INLINE Any::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Any::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h index c753c8c5e5..66a1cecac4 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -286,8 +286,7 @@ class PROTOBUF_EXPORT Any final private: const std::string& _internal_type_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value); std::string* _internal_mutable_type_url(); public: @@ -302,8 +301,7 @@ class PROTOBUF_EXPORT Any final private: const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: @@ -370,8 +368,8 @@ inline const std::string& Any::type_url() const return _internal_type_url(); } template -inline PROTOBUF_ALWAYS_INLINE void Any::set_type_url(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Any::set_type_url(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.type_url_.Set(static_cast(arg), args..., GetArena()); @@ -435,8 +433,8 @@ inline const std::string& Any::value() const return _internal_value(); } template -inline PROTOBUF_ALWAYS_INLINE void Any::set_value(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Any::set_value(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; _impl_.value_.SetBytes(static_cast(arg), args..., GetArena()); diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index 2d0ab9ec2b..5e3664f2cc 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -280,7 +280,7 @@ Api::Api(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Api) } -inline PROTOBUF_NDEBUG_INLINE Api::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Api::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Api& from_msg) : _has_bits_{from._has_bits_}, @@ -312,7 +312,7 @@ Api::Api( // @@protoc_insertion_point(copy_constructor:google.protobuf.Api) } -inline PROTOBUF_NDEBUG_INLINE Api::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Api::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, @@ -784,7 +784,7 @@ Method::Method(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Method) } -inline PROTOBUF_NDEBUG_INLINE Method::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Method::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Method& from_msg) : _has_bits_{from._has_bits_}, @@ -817,7 +817,7 @@ Method::Method( // @@protoc_insertion_point(copy_constructor:google.protobuf.Method) } -inline PROTOBUF_NDEBUG_INLINE Method::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Method::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, @@ -1277,7 +1277,7 @@ Mixin::Mixin(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Mixin) } -inline PROTOBUF_NDEBUG_INLINE Mixin::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Mixin::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Mixin& from_msg) : _has_bits_{from._has_bits_}, @@ -1301,7 +1301,7 @@ Mixin::Mixin( // @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin) } -inline PROTOBUF_NDEBUG_INLINE Mixin::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Mixin::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index 287da99e3f..4a84004af7 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -240,8 +240,7 @@ class PROTOBUF_EXPORT Mixin final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -256,8 +255,7 @@ class PROTOBUF_EXPORT Mixin final private: const std::string& _internal_root() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_root( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_root(const std::string& value); std::string* _internal_mutable_root(); public: @@ -481,8 +479,7 @@ class PROTOBUF_EXPORT Method final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -497,8 +494,7 @@ class PROTOBUF_EXPORT Method final private: const std::string& _internal_request_type_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_type_url( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_request_type_url(const std::string& value); std::string* _internal_mutable_request_type_url(); public: @@ -513,8 +509,7 @@ class PROTOBUF_EXPORT Method final private: const std::string& _internal_response_type_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_type_url( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_response_type_url(const std::string& value); std::string* _internal_mutable_response_type_url(); public: @@ -807,8 +802,7 @@ class PROTOBUF_EXPORT Api final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -823,8 +817,7 @@ class PROTOBUF_EXPORT Api final private: const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); std::string* _internal_mutable_version(); public: @@ -921,8 +914,8 @@ inline const std::string& Api::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Api::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Api::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); @@ -1080,8 +1073,8 @@ inline const std::string& Api::version() const return _internal_version(); } template -inline PROTOBUF_ALWAYS_INLINE void Api::set_version(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Api::set_version(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; _impl_.version_.Set(static_cast(arg), args..., GetArena()); @@ -1313,8 +1306,8 @@ inline const std::string& Method::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Method::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Method::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); @@ -1378,8 +1371,8 @@ inline const std::string& Method::request_type_url() const return _internal_request_type_url(); } template -inline PROTOBUF_ALWAYS_INLINE void Method::set_request_type_url(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Method::set_request_type_url(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; _impl_.request_type_url_.Set(static_cast(arg), args..., GetArena()); @@ -1467,8 +1460,8 @@ inline const std::string& Method::response_type_url() const return _internal_response_type_url(); } template -inline PROTOBUF_ALWAYS_INLINE void Method::set_response_type_url(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Method::set_response_type_url(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000004u; _impl_.response_type_url_.Set(static_cast(arg), args..., GetArena()); @@ -1629,8 +1622,8 @@ inline const std::string& Mixin::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Mixin::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Mixin::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); @@ -1694,8 +1687,8 @@ inline const std::string& Mixin::root() const return _internal_root(); } template -inline PROTOBUF_ALWAYS_INLINE void Mixin::set_root(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Mixin::set_root(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; _impl_.root_.Set(static_cast(arg), args..., GetArena()); diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index fae2cec226..12050eb15a 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -140,7 +140,7 @@ Duration::Duration( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE Duration::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Duration::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 2d06c29640..428dcab029 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -121,7 +121,7 @@ FieldMask::FieldMask(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldMask) } -inline PROTOBUF_NDEBUG_INLINE FieldMask::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE FieldMask::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::FieldMask& from_msg) : paths_{visibility, arena, from.paths_}, @@ -143,7 +143,7 @@ FieldMask::FieldMask( // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldMask) } -inline PROTOBUF_NDEBUG_INLINE FieldMask::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE FieldMask::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : paths_{visibility, arena}, diff --git a/src/google/protobuf/source_context.pb.cc b/src/google/protobuf/source_context.pb.cc index 7ea33899cb..fca905074b 100644 --- a/src/google/protobuf/source_context.pb.cc +++ b/src/google/protobuf/source_context.pb.cc @@ -128,7 +128,7 @@ SourceContext::SourceContext(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceContext) } -inline PROTOBUF_NDEBUG_INLINE SourceContext::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE SourceContext::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::SourceContext& from_msg) : _has_bits_{from._has_bits_}, @@ -151,7 +151,7 @@ SourceContext::SourceContext( // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceContext) } -inline PROTOBUF_NDEBUG_INLINE SourceContext::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE SourceContext::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index 73db1869b3..e668503dd0 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -229,8 +229,7 @@ class PROTOBUF_EXPORT SourceContext final private: const std::string& _internal_file_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_file_name(const std::string& value); std::string* _internal_mutable_file_name(); public: @@ -296,8 +295,8 @@ inline const std::string& SourceContext::file_name() const return _internal_file_name(); } template -inline PROTOBUF_ALWAYS_INLINE void SourceContext::set_file_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void SourceContext::set_file_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.file_name_.Set(static_cast(arg), args..., GetArena()); diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index f1b60d43e8..c75c9ea58a 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -347,7 +347,7 @@ Struct::Struct(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Struct) } -inline PROTOBUF_NDEBUG_INLINE Struct::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Struct::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Struct& from_msg) : fields_{visibility, arena, from.fields_}, @@ -369,7 +369,7 @@ Struct::Struct( // @@protoc_insertion_point(copy_constructor:google.protobuf.Struct) } -inline PROTOBUF_NDEBUG_INLINE Struct::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Struct::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : fields_{visibility, arena}, @@ -650,7 +650,7 @@ Value::Value(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Value) } -inline PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Value& from_msg) : kind_{}, @@ -695,7 +695,7 @@ Value::Value( // @@protoc_insertion_point(copy_constructor:google.protobuf.Value) } -inline PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : kind_{}, @@ -1085,7 +1085,7 @@ ListValue::ListValue(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.ListValue) } -inline PROTOBUF_NDEBUG_INLINE ListValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE ListValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::ListValue& from_msg) : values_{visibility, arena, from.values_}, @@ -1107,7 +1107,7 @@ ListValue::ListValue( // @@protoc_insertion_point(copy_constructor:google.protobuf.ListValue) } -inline PROTOBUF_NDEBUG_INLINE ListValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE ListValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : values_{visibility, arena}, diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index dfb63dc7d9..074b4b0880 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -767,8 +767,7 @@ class PROTOBUF_EXPORT Value final private: const std::string& _internal_string_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); std::string* _internal_mutable_string_value(); public: @@ -1010,8 +1009,8 @@ inline const std::string& Value::string_value() const return _internal_string_value(); } template -inline PROTOBUF_ALWAYS_INLINE void Value::set_string_value(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Value::set_string_value(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); if (kind_case() != kStringValue) { clear_kind(); diff --git a/src/google/protobuf/timestamp.pb.cc b/src/google/protobuf/timestamp.pb.cc index f054271d4b..7bbecbb043 100644 --- a/src/google/protobuf/timestamp.pb.cc +++ b/src/google/protobuf/timestamp.pb.cc @@ -140,7 +140,7 @@ Timestamp::Timestamp( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE Timestamp::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Timestamp::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index 56314d9905..499e322f63 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -435,7 +435,7 @@ Type::Type(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Type) } -inline PROTOBUF_NDEBUG_INLINE Type::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Type::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Type& from_msg) : _has_bits_{from._has_bits_}, @@ -467,7 +467,7 @@ Type::Type( // @@protoc_insertion_point(copy_constructor:google.protobuf.Type) } -inline PROTOBUF_NDEBUG_INLINE Type::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Type::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, @@ -933,7 +933,7 @@ Field::Field(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Field) } -inline PROTOBUF_NDEBUG_INLINE Field::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Field::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Field& from_msg) : _has_bits_{from._has_bits_}, @@ -967,7 +967,7 @@ Field::Field( // @@protoc_insertion_point(copy_constructor:google.protobuf.Field) } -inline PROTOBUF_NDEBUG_INLINE Field::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Field::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, @@ -1534,7 +1534,7 @@ Enum::Enum(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Enum) } -inline PROTOBUF_NDEBUG_INLINE Enum::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Enum::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Enum& from_msg) : _has_bits_{from._has_bits_}, @@ -1565,7 +1565,7 @@ Enum::Enum( // @@protoc_insertion_point(copy_constructor:google.protobuf.Enum) } -inline PROTOBUF_NDEBUG_INLINE Enum::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Enum::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, @@ -2000,7 +2000,7 @@ EnumValue::EnumValue(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValue) } -inline PROTOBUF_NDEBUG_INLINE EnumValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE EnumValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::EnumValue& from_msg) : _has_bits_{from._has_bits_}, @@ -2025,7 +2025,7 @@ EnumValue::EnumValue( // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValue) } -inline PROTOBUF_NDEBUG_INLINE EnumValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE EnumValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, @@ -2344,7 +2344,7 @@ Option::Option(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Option) } -inline PROTOBUF_NDEBUG_INLINE Option::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Option::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::Option& from_msg) : _has_bits_{from._has_bits_}, @@ -2371,7 +2371,7 @@ Option::Option( // @@protoc_insertion_point(copy_constructor:google.protobuf.Option) } -inline PROTOBUF_NDEBUG_INLINE Option::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Option::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index a14ed2c9ae..32251fd11d 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -392,8 +392,7 @@ class PROTOBUF_EXPORT Option final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -692,8 +691,7 @@ class PROTOBUF_EXPORT Field final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -708,8 +706,7 @@ class PROTOBUF_EXPORT Field final private: const std::string& _internal_type_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value); std::string* _internal_mutable_type_url(); public: @@ -724,8 +721,7 @@ class PROTOBUF_EXPORT Field final private: const std::string& _internal_json_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value); std::string* _internal_mutable_json_name(); public: @@ -740,8 +736,7 @@ class PROTOBUF_EXPORT Field final private: const std::string& _internal_default_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value); std::string* _internal_mutable_default_value(); public: @@ -1019,8 +1014,7 @@ class PROTOBUF_EXPORT EnumValue final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -1294,8 +1288,7 @@ class PROTOBUF_EXPORT Type final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -1310,8 +1303,7 @@ class PROTOBUF_EXPORT Type final private: const std::string& _internal_edition() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_edition( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_edition(const std::string& value); std::string* _internal_mutable_edition(); public: @@ -1581,8 +1573,7 @@ class PROTOBUF_EXPORT Enum final private: const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: @@ -1597,8 +1588,7 @@ class PROTOBUF_EXPORT Enum final private: const std::string& _internal_edition() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_edition( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_edition(const std::string& value); std::string* _internal_mutable_edition(); public: @@ -1694,8 +1684,8 @@ inline const std::string& Type::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Type::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Type::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); @@ -2036,8 +2026,8 @@ inline const std::string& Type::edition() const return _internal_edition(); } template -inline PROTOBUF_ALWAYS_INLINE void Type::set_edition(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Type::set_edition(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; _impl_.edition_.Set(static_cast(arg), args..., GetArena()); @@ -2177,8 +2167,8 @@ inline const std::string& Field::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Field::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Field::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); @@ -2242,8 +2232,8 @@ inline const std::string& Field::type_url() const return _internal_type_url(); } template -inline PROTOBUF_ALWAYS_INLINE void Field::set_type_url(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Field::set_type_url(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; _impl_.type_url_.Set(static_cast(arg), args..., GetArena()); @@ -2404,8 +2394,8 @@ inline const std::string& Field::json_name() const return _internal_json_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Field::set_json_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Field::set_json_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000004u; _impl_.json_name_.Set(static_cast(arg), args..., GetArena()); @@ -2469,8 +2459,8 @@ inline const std::string& Field::default_value() const return _internal_default_value(); } template -inline PROTOBUF_ALWAYS_INLINE void Field::set_default_value(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Field::set_default_value(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000008u; _impl_.default_value_.Set(static_cast(arg), args..., GetArena()); @@ -2538,8 +2528,8 @@ inline const std::string& Enum::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Enum::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Enum::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); @@ -2816,8 +2806,8 @@ inline const std::string& Enum::edition() const return _internal_edition(); } template -inline PROTOBUF_ALWAYS_INLINE void Enum::set_edition(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Enum::set_edition(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000002u; _impl_.edition_.Set(static_cast(arg), args..., GetArena()); @@ -2885,8 +2875,8 @@ inline const std::string& EnumValue::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void EnumValue::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void EnumValue::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); @@ -3027,8 +3017,8 @@ inline const std::string& Option::name() const return _internal_name(); } template -inline PROTOBUF_ALWAYS_INLINE void Option::set_name(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void Option::set_name(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); diff --git a/src/google/protobuf/wrappers.pb.cc b/src/google/protobuf/wrappers.pb.cc index 1861510a20..efab4b8b03 100644 --- a/src/google/protobuf/wrappers.pb.cc +++ b/src/google/protobuf/wrappers.pb.cc @@ -443,7 +443,7 @@ DoubleValue::DoubleValue( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE DoubleValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DoubleValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} @@ -676,7 +676,7 @@ FloatValue::FloatValue( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE FloatValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE FloatValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} @@ -909,7 +909,7 @@ Int64Value::Int64Value( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE Int64Value::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Int64Value::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} @@ -1143,7 +1143,7 @@ UInt64Value::UInt64Value( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE UInt64Value::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE UInt64Value::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} @@ -1377,7 +1377,7 @@ Int32Value::Int32Value( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE Int32Value::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Int32Value::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} @@ -1611,7 +1611,7 @@ UInt32Value::UInt32Value( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE UInt32Value::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE UInt32Value::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} @@ -1845,7 +1845,7 @@ BoolValue::BoolValue( _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE BoolValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE BoolValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} @@ -2067,7 +2067,7 @@ StringValue::StringValue(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.StringValue) } -inline PROTOBUF_NDEBUG_INLINE StringValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE StringValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::StringValue& from_msg) : _has_bits_{from._has_bits_}, @@ -2090,7 +2090,7 @@ StringValue::StringValue( // @@protoc_insertion_point(copy_constructor:google.protobuf.StringValue) } -inline PROTOBUF_NDEBUG_INLINE StringValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE StringValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, @@ -2327,7 +2327,7 @@ BytesValue::BytesValue(::google::protobuf::Arena* arena) SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.BytesValue) } -inline PROTOBUF_NDEBUG_INLINE BytesValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE BytesValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::google::protobuf::BytesValue& from_msg) : _has_bits_{from._has_bits_}, @@ -2350,7 +2350,7 @@ BytesValue::BytesValue( // @@protoc_insertion_point(copy_constructor:google.protobuf.BytesValue) } -inline PROTOBUF_NDEBUG_INLINE BytesValue::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE BytesValue::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0}, diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index f5f1caa12a..38571c4257 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -651,8 +651,7 @@ class PROTOBUF_EXPORT StringValue final private: const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: @@ -1632,8 +1631,7 @@ class PROTOBUF_EXPORT BytesValue final private: const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( - const std::string& value); + PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: @@ -2090,8 +2088,8 @@ inline const std::string& StringValue::value() const return _internal_value(); } template -inline PROTOBUF_ALWAYS_INLINE void StringValue::set_value(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void StringValue::set_value(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.value_.Set(static_cast(arg), args..., GetArena()); @@ -2159,8 +2157,8 @@ inline const std::string& BytesValue::value() const return _internal_value(); } template -inline PROTOBUF_ALWAYS_INLINE void BytesValue::set_value(Arg_&& arg, - Args_... args) { +PROTOBUF_ALWAYS_INLINE void BytesValue::set_value(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.value_.SetBytes(static_cast(arg), args..., GetArena());