diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index 81d087a71b..55d8c7b672 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -211,7 +211,7 @@ void Any::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Any::Clear() { +PROTOBUF_NOINLINE void Any::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Any) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -354,7 +354,7 @@ void Any::CopyFrom(const Any& from) { MergeFrom(from); } -bool Any::IsInitialized() const { +PROTOBUF_NOINLINE bool Any::IsInitialized() const { return true; } diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index 2ede77c011..808c19745d 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -348,7 +348,7 @@ void Api::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Api::Clear() { +PROTOBUF_NOINLINE void Api::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Api) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -651,7 +651,7 @@ void Api::CopyFrom(const Api& from) { MergeFrom(from); } -bool Api::IsInitialized() const { +PROTOBUF_NOINLINE bool Api::IsInitialized() const { return true; } @@ -795,7 +795,7 @@ void Method::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Method::Clear() { +PROTOBUF_NOINLINE void Method::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Method) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1078,7 +1078,7 @@ void Method::CopyFrom(const Method& from) { MergeFrom(from); } -bool Method::IsInitialized() const { +PROTOBUF_NOINLINE bool Method::IsInitialized() const { return true; } @@ -1184,7 +1184,7 @@ void Mixin::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Mixin::Clear() { +PROTOBUF_NOINLINE void Mixin::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Mixin) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1330,7 +1330,7 @@ void Mixin::CopyFrom(const Mixin& from) { MergeFrom(from); } -bool Mixin::IsInitialized() const { +PROTOBUF_NOINLINE bool Mixin::IsInitialized() const { return true; } diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index a92d7bf4a6..15cef3f0e8 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -155,7 +155,7 @@ void Duration::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Duration::Clear() { +PROTOBUF_NOINLINE void Duration::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Duration) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -222,16 +222,16 @@ failure: // int64 seconds = 1; if (this->_internal_seconds() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray( - 1, this->_internal_seconds(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt64ToArrayWithField<1>( + stream, this->_internal_seconds(), target); } // int32 nanos = 2; if (this->_internal_nanos() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray( - 2, this->_internal_nanos(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt32ToArrayWithField<2>( + stream, this->_internal_nanos(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -296,7 +296,7 @@ void Duration::CopyFrom(const Duration& from) { MergeFrom(from); } -bool Duration::IsInitialized() const { +PROTOBUF_NOINLINE bool Duration::IsInitialized() const { return true; } diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 7c80a0d789..dd96cb109b 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -153,7 +153,7 @@ void FieldMask::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void FieldMask::Clear() { +PROTOBUF_NOINLINE void FieldMask::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldMask) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -274,7 +274,7 @@ void FieldMask::CopyFrom(const FieldMask& from) { MergeFrom(from); } -bool FieldMask::IsInitialized() const { +PROTOBUF_NOINLINE bool FieldMask::IsInitialized() const { return true; } diff --git a/src/google/protobuf/source_context.pb.cc b/src/google/protobuf/source_context.pb.cc index 4df05cc197..8f6f726a8a 100644 --- a/src/google/protobuf/source_context.pb.cc +++ b/src/google/protobuf/source_context.pb.cc @@ -169,7 +169,7 @@ void SourceContext::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void SourceContext::Clear() { +PROTOBUF_NOINLINE void SourceContext::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceContext) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -286,7 +286,7 @@ void SourceContext::CopyFrom(const SourceContext& from) { MergeFrom(from); } -bool SourceContext::IsInitialized() const { +PROTOBUF_NOINLINE bool SourceContext::IsInitialized() const { return true; } diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index 1e5f3ce7ce..ef8d37cda6 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -272,7 +272,7 @@ void Struct::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Struct::Clear() { +PROTOBUF_NOINLINE void Struct::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Struct) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -407,7 +407,7 @@ void Struct::CopyFrom(const Struct& from) { MergeFrom(from); } -bool Struct::IsInitialized() const { +PROTOBUF_NOINLINE bool Struct::IsInitialized() const { return true; } @@ -586,7 +586,7 @@ void Value::clear_kind() { } -void Value::Clear() { +PROTOBUF_NOINLINE void Value::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Value) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -844,7 +844,7 @@ void Value::CopyFrom(const Value& from) { MergeFrom(from); } -bool Value::IsInitialized() const { +PROTOBUF_NOINLINE bool Value::IsInitialized() const { return true; } @@ -908,7 +908,7 @@ void ListValue::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void ListValue::Clear() { +PROTOBUF_NOINLINE void ListValue::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.ListValue) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1027,7 +1027,7 @@ void ListValue::CopyFrom(const ListValue& from) { MergeFrom(from); } -bool ListValue::IsInitialized() const { +PROTOBUF_NOINLINE bool ListValue::IsInitialized() const { return true; } diff --git a/src/google/protobuf/timestamp.pb.cc b/src/google/protobuf/timestamp.pb.cc index 78a06ee128..ef87470dd0 100644 --- a/src/google/protobuf/timestamp.pb.cc +++ b/src/google/protobuf/timestamp.pb.cc @@ -155,7 +155,7 @@ void Timestamp::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Timestamp::Clear() { +PROTOBUF_NOINLINE void Timestamp::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Timestamp) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -222,16 +222,16 @@ failure: // int64 seconds = 1; if (this->_internal_seconds() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray( - 1, this->_internal_seconds(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt64ToArrayWithField<1>( + stream, this->_internal_seconds(), target); } // int32 nanos = 2; if (this->_internal_nanos() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray( - 2, this->_internal_nanos(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt32ToArrayWithField<2>( + stream, this->_internal_nanos(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -296,7 +296,7 @@ void Timestamp::CopyFrom(const Timestamp& from) { MergeFrom(from); } -bool Timestamp::IsInitialized() const { +PROTOBUF_NOINLINE bool Timestamp::IsInitialized() const { return true; } diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index 8a8e9a10c7..0a83b6b065 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -560,7 +560,7 @@ void Type::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Type::Clear() { +PROTOBUF_NOINLINE void Type::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Type) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -865,7 +865,7 @@ void Type::CopyFrom(const Type& from) { MergeFrom(from); } -bool Type::IsInitialized() const { +PROTOBUF_NOINLINE bool Type::IsInitialized() const { return true; } @@ -1031,7 +1031,7 @@ void Field::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Field::Clear() { +PROTOBUF_NOINLINE void Field::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Field) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1204,9 +1204,9 @@ failure: // int32 number = 3; if (this->_internal_number() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray( - 3, this->_internal_number(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt32ToArrayWithField<3>( + stream, this->_internal_number(), target); } // string name = 4; @@ -1227,9 +1227,9 @@ failure: // int32 oneof_index = 7; if (this->_internal_oneof_index() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray( - 7, this->_internal_oneof_index(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt32ToArrayWithField<7>( + stream, this->_internal_oneof_index(), target); } // bool packed = 8; @@ -1395,7 +1395,7 @@ void Field::CopyFrom(const Field& from) { MergeFrom(from); } -bool Field::IsInitialized() const { +PROTOBUF_NOINLINE bool Field::IsInitialized() const { return true; } @@ -1536,7 +1536,7 @@ void Enum::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Enum::Clear() { +PROTOBUF_NOINLINE void Enum::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Enum) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1808,7 +1808,7 @@ void Enum::CopyFrom(const Enum& from) { MergeFrom(from); } -bool Enum::IsInitialized() const { +PROTOBUF_NOINLINE bool Enum::IsInitialized() const { return true; } @@ -1906,7 +1906,7 @@ void EnumValue::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void EnumValue::Clear() { +PROTOBUF_NOINLINE void EnumValue::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValue) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1997,9 +1997,9 @@ failure: // int32 number = 2; if (this->_internal_number() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray( - 2, this->_internal_number(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt32ToArrayWithField<2>( + stream, this->_internal_number(), target); } // repeated .google.protobuf.Option options = 3; @@ -2080,7 +2080,7 @@ void EnumValue::CopyFrom(const EnumValue& from) { MergeFrom(from); } -bool EnumValue::IsInitialized() const { +PROTOBUF_NOINLINE bool EnumValue::IsInitialized() const { return true; } @@ -2183,7 +2183,7 @@ void Option::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Option::Clear() { +PROTOBUF_NOINLINE void Option::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Option) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -2337,7 +2337,7 @@ void Option::CopyFrom(const Option& from) { MergeFrom(from); } -bool Option::IsInitialized() const { +PROTOBUF_NOINLINE bool Option::IsInitialized() const { return true; } diff --git a/src/google/protobuf/wrappers.pb.cc b/src/google/protobuf/wrappers.pb.cc index ab9a1acf09..4ab2d84187 100644 --- a/src/google/protobuf/wrappers.pb.cc +++ b/src/google/protobuf/wrappers.pb.cc @@ -368,7 +368,7 @@ void DoubleValue::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void DoubleValue::Clear() { +PROTOBUF_NOINLINE void DoubleValue::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.DoubleValue) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -493,7 +493,7 @@ void DoubleValue::CopyFrom(const DoubleValue& from) { MergeFrom(from); } -bool DoubleValue::IsInitialized() const { +PROTOBUF_NOINLINE bool DoubleValue::IsInitialized() const { return true; } @@ -552,7 +552,7 @@ void FloatValue::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void FloatValue::Clear() { +PROTOBUF_NOINLINE void FloatValue::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.FloatValue) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -677,7 +677,7 @@ void FloatValue::CopyFrom(const FloatValue& from) { MergeFrom(from); } -bool FloatValue::IsInitialized() const { +PROTOBUF_NOINLINE bool FloatValue::IsInitialized() const { return true; } @@ -736,7 +736,7 @@ void Int64Value::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Int64Value::Clear() { +PROTOBUF_NOINLINE void Int64Value::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Int64Value) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -792,9 +792,9 @@ failure: // int64 value = 1; if (this->_internal_value() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray( - 1, this->_internal_value(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt64ToArrayWithField<1>( + stream, this->_internal_value(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -850,7 +850,7 @@ void Int64Value::CopyFrom(const Int64Value& from) { MergeFrom(from); } -bool Int64Value::IsInitialized() const { +PROTOBUF_NOINLINE bool Int64Value::IsInitialized() const { return true; } @@ -909,7 +909,7 @@ void UInt64Value::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void UInt64Value::Clear() { +PROTOBUF_NOINLINE void UInt64Value::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt64Value) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1023,7 +1023,7 @@ void UInt64Value::CopyFrom(const UInt64Value& from) { MergeFrom(from); } -bool UInt64Value::IsInitialized() const { +PROTOBUF_NOINLINE bool UInt64Value::IsInitialized() const { return true; } @@ -1082,7 +1082,7 @@ void Int32Value::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void Int32Value::Clear() { +PROTOBUF_NOINLINE void Int32Value::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.Int32Value) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1138,9 +1138,9 @@ failure: // int32 value = 1; if (this->_internal_value() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray( - 1, this->_internal_value(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this->_internal_value(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -1196,7 +1196,7 @@ void Int32Value::CopyFrom(const Int32Value& from) { MergeFrom(from); } -bool Int32Value::IsInitialized() const { +PROTOBUF_NOINLINE bool Int32Value::IsInitialized() const { return true; } @@ -1255,7 +1255,7 @@ void UInt32Value::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void UInt32Value::Clear() { +PROTOBUF_NOINLINE void UInt32Value::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt32Value) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1369,7 +1369,7 @@ void UInt32Value::CopyFrom(const UInt32Value& from) { MergeFrom(from); } -bool UInt32Value::IsInitialized() const { +PROTOBUF_NOINLINE bool UInt32Value::IsInitialized() const { return true; } @@ -1428,7 +1428,7 @@ void BoolValue::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void BoolValue::Clear() { +PROTOBUF_NOINLINE void BoolValue::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.BoolValue) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1541,7 +1541,7 @@ void BoolValue::CopyFrom(const BoolValue& from) { MergeFrom(from); } -bool BoolValue::IsInitialized() const { +PROTOBUF_NOINLINE bool BoolValue::IsInitialized() const { return true; } @@ -1617,7 +1617,7 @@ void StringValue::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void StringValue::Clear() { +PROTOBUF_NOINLINE void StringValue::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.StringValue) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1734,7 +1734,7 @@ void StringValue::CopyFrom(const StringValue& from) { MergeFrom(from); } -bool StringValue::IsInitialized() const { +PROTOBUF_NOINLINE bool StringValue::IsInitialized() const { return true; } @@ -1813,7 +1813,7 @@ void BytesValue::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void BytesValue::Clear() { +PROTOBUF_NOINLINE void BytesValue::Clear() { // @@protoc_insertion_point(message_clear_start:google.protobuf.BytesValue) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused @@ -1927,7 +1927,7 @@ void BytesValue::CopyFrom(const BytesValue& from) { MergeFrom(from); } -bool BytesValue::IsInitialized() const { +PROTOBUF_NOINLINE bool BytesValue::IsInitialized() const { return true; }