|
|
|
@ -1884,17 +1884,17 @@ inline ::google::protobuf::SourceContext* Type::release_source_context() { |
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u; |
|
|
|
|
::google::protobuf::SourceContext* released = _impl_.source_context_; |
|
|
|
|
_impl_.source_context_ = nullptr; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
|
|
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
|
|
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
|
|
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
|
|
|
|
if (GetArena() == nullptr) { |
|
|
|
|
delete old; |
|
|
|
|
} |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
|
|
|
} else { |
|
|
|
|
if (GetArena() != nullptr) { |
|
|
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
|
|
|
|
} |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
|
|
|
} |
|
|
|
|
return released; |
|
|
|
|
} |
|
|
|
|
inline ::google::protobuf::SourceContext* Type::unsafe_arena_release_source_context() { |
|
|
|
@ -2577,17 +2577,17 @@ inline ::google::protobuf::SourceContext* Enum::release_source_context() { |
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u; |
|
|
|
|
::google::protobuf::SourceContext* released = _impl_.source_context_; |
|
|
|
|
_impl_.source_context_ = nullptr; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
|
|
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
|
|
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
|
|
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
|
|
|
|
if (GetArena() == nullptr) { |
|
|
|
|
delete old; |
|
|
|
|
} |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
|
|
|
} else { |
|
|
|
|
if (GetArena() != nullptr) { |
|
|
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
|
|
|
|
} |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
|
|
|
} |
|
|
|
|
return released; |
|
|
|
|
} |
|
|
|
|
inline ::google::protobuf::SourceContext* Enum::unsafe_arena_release_source_context() { |
|
|
|
@ -2925,17 +2925,17 @@ inline ::google::protobuf::Any* Option::release_value() { |
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u; |
|
|
|
|
::google::protobuf::Any* released = _impl_.value_; |
|
|
|
|
_impl_.value_ = nullptr; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
|
|
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
|
|
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
|
|
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
|
|
|
|
if (GetArena() == nullptr) { |
|
|
|
|
delete old; |
|
|
|
|
} |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
|
|
|
} else { |
|
|
|
|
if (GetArena() != nullptr) { |
|
|
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
|
|
|
|
} |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
|
|
|
} |
|
|
|
|
return released; |
|
|
|
|
} |
|
|
|
|
inline ::google::protobuf::Any* Option::unsafe_arena_release_value() { |
|
|
|
|