diff --git a/src/file_lists.cmake b/src/file_lists.cmake index eacbadc6200b..d2fc650dd3cd 100644 --- a/src/file_lists.cmake +++ b/src/file_lists.cmake @@ -172,7 +172,6 @@ set(libprotobuf_hdrs ${protobuf_SOURCE_DIR}/src/google/protobuf/service.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/platform_macros.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/port.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/status_macros.h @@ -260,7 +259,6 @@ set(libprotobuf_lite_hdrs ${protobuf_SOURCE_DIR}/src/google/protobuf/serial_arena.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/platform_macros.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/port.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/status_macros.h diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index 7f8c5091713b..d4919469bc3f 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -193,7 +193,7 @@ Any::~Any() { } inline void Any::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.type_url_.Destroy(); _impl_.value_.Destroy(); _impl_._any_metadata_.~AnyMetadata(); @@ -330,7 +330,7 @@ void Any::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_N auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Any) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h index 9ec084cc2194..571ee2172a8f 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -118,12 +118,12 @@ class PROTOBUF_EXPORT Any final : // implements Any ----------------------------------------------- bool PackFrom(const ::PROTOBUF_NAMESPACE_ID::Message& message) { - GOOGLE_ABSL_DCHECK_NE(&message, this); + ABSL_DCHECK_NE(&message, this); return _impl_._any_metadata_.PackFrom(GetArena(), message); } bool PackFrom(const ::PROTOBUF_NAMESPACE_ID::Message& message, ::absl::string_view type_url_prefix) { - GOOGLE_ABSL_DCHECK_NE(&message, this); + ABSL_DCHECK_NE(&message, this); return _impl_._any_metadata_.PackFrom(GetArena(), message, type_url_prefix); } bool UnpackTo(::PROTOBUF_NAMESPACE_ID::Message* message) const { @@ -168,7 +168,7 @@ class PROTOBUF_EXPORT Any final : } void UnsafeArenaSwap(Any* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index 38a62ec10259..134053c83d80 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -295,7 +295,7 @@ Api::~Api() { } inline void Api::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.methods_.~RepeatedPtrField(); _impl_.options_.~RepeatedPtrField(); _impl_.mixins_.~RepeatedPtrField(); @@ -581,7 +581,7 @@ void Api::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_N auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Api) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -742,7 +742,7 @@ Method::~Method() { } inline void Method::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.options_.~RepeatedPtrField(); _impl_.name_.Destroy(); _impl_.request_type_url_.Destroy(); @@ -1012,7 +1012,7 @@ void Method::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Method) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1146,7 +1146,7 @@ Mixin::~Mixin() { } inline void Mixin::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.name_.Destroy(); _impl_.root_.Destroy(); } @@ -1287,7 +1287,7 @@ void Mixin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Mixin) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index b350aef61074..5b2760708686 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -145,7 +145,7 @@ class PROTOBUF_EXPORT Api final : } void UnsafeArenaSwap(Api* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -400,7 +400,7 @@ class PROTOBUF_EXPORT Method final : } void UnsafeArenaSwap(Method* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -634,7 +634,7 @@ class PROTOBUF_EXPORT Mixin final : } void UnsafeArenaSwap(Mixin* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index 5056c175bb01..482527576580 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -148,7 +148,7 @@ Duration::~Duration() { } inline void Duration::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void Duration::SetCachedSize(int size) const { @@ -276,7 +276,7 @@ void Duration::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTO auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Duration) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/duration.pb.h b/src/google/protobuf/duration.pb.h index 3ff89a87e7e3..e5637fa5caa3 100644 --- a/src/google/protobuf/duration.pb.h +++ b/src/google/protobuf/duration.pb.h @@ -133,7 +133,7 @@ class PROTOBUF_EXPORT Duration final : } void UnsafeArenaSwap(Duration* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } diff --git a/src/google/protobuf/empty.pb.h b/src/google/protobuf/empty.pb.h index d1230f58ecbc..b4d58cf6577d 100644 --- a/src/google/protobuf/empty.pb.h +++ b/src/google/protobuf/empty.pb.h @@ -133,7 +133,7 @@ class PROTOBUF_EXPORT Empty final : } void UnsafeArenaSwap(Empty* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 4e05793729b8..3bde6a4cfafa 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -145,7 +145,7 @@ FieldMask::~FieldMask() { } inline void FieldMask::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.paths_.~RepeatedPtrField(); } @@ -262,7 +262,7 @@ void FieldMask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldMask) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index c80e978d9388..ccf85a3dab8a 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -133,7 +133,7 @@ class PROTOBUF_EXPORT FieldMask final : } void UnsafeArenaSwap(FieldMask* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -279,7 +279,7 @@ inline void FieldMask::set_paths(int index, std::string&& value) { // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths) } inline void FieldMask::set_paths(int index, const char* value) { - GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.paths_.Mutable(index)->assign(value); + ABSL_DCHECK(value != nullptr); _impl_.paths_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths) } inline void FieldMask::set_paths(int index, absl::string_view value) { @@ -303,7 +303,7 @@ inline void FieldMask::add_paths(std::string&& value) { // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths) } inline void FieldMask::add_paths(const char* value) { - GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.paths_.Add()->assign(value); + ABSL_DCHECK(value != nullptr); _impl_.paths_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths) } inline void FieldMask::add_paths(absl::string_view value) { diff --git a/src/google/protobuf/source_context.pb.cc b/src/google/protobuf/source_context.pb.cc index dd1fda830c43..fa3ecdeee2b3 100644 --- a/src/google/protobuf/source_context.pb.cc +++ b/src/google/protobuf/source_context.pb.cc @@ -157,7 +157,7 @@ SourceContext::~SourceContext() { } inline void SourceContext::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.file_name_.Destroy(); } @@ -268,7 +268,7 @@ void SourceContext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceContext) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index 32f4bec1ec05..d4eaf7ca7a8b 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -133,7 +133,7 @@ class PROTOBUF_EXPORT SourceContext final : } void UnsafeArenaSwap(SourceContext* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index f0870f737083..13e29d07d4dc 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -267,7 +267,7 @@ Struct::~Struct() { } inline void Struct::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.fields_.Destruct(); _impl_.fields_.~MapField(); } @@ -404,7 +404,7 @@ void Struct::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Struct) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -551,7 +551,7 @@ Value::~Value() { } inline void Value::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); if (has_kind()) { clear_kind(); } @@ -819,7 +819,7 @@ void Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Value) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -920,7 +920,7 @@ ListValue::~ListValue() { } inline void ListValue::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.values_.~RepeatedPtrField(); } @@ -1032,7 +1032,7 @@ void ListValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ListValue) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index 7458048e942d..e0af88e4a8c8 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -208,7 +208,7 @@ class PROTOBUF_EXPORT Struct final : } void UnsafeArenaSwap(Struct* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -379,7 +379,7 @@ class PROTOBUF_EXPORT Value final : } void UnsafeArenaSwap(Value* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -624,7 +624,7 @@ class PROTOBUF_EXPORT ListValue final : } void UnsafeArenaSwap(ListValue* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } diff --git a/src/google/protobuf/timestamp.pb.cc b/src/google/protobuf/timestamp.pb.cc index 3708b86226ff..602bd22c819a 100644 --- a/src/google/protobuf/timestamp.pb.cc +++ b/src/google/protobuf/timestamp.pb.cc @@ -148,7 +148,7 @@ Timestamp::~Timestamp() { } inline void Timestamp::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void Timestamp::SetCachedSize(int size) const { @@ -276,7 +276,7 @@ void Timestamp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Timestamp) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/timestamp.pb.h b/src/google/protobuf/timestamp.pb.h index 35585b114ded..e7698dc01c5b 100644 --- a/src/google/protobuf/timestamp.pb.h +++ b/src/google/protobuf/timestamp.pb.h @@ -133,7 +133,7 @@ class PROTOBUF_EXPORT Timestamp final : } void UnsafeArenaSwap(Timestamp* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index 3b89f3bc8fb5..996f0cc9b9a1 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -465,7 +465,7 @@ Type::~Type() { } inline void Type::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.fields_.~RepeatedPtrField(); _impl_.oneofs_.~RepeatedPtrField(); _impl_.options_.~RepeatedPtrField(); @@ -726,7 +726,7 @@ void Type::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_ auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Type) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -897,7 +897,7 @@ Field::~Field() { } inline void Field::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.options_.~RepeatedPtrField(); _impl_.name_.Destroy(); _impl_.type_url_.Destroy(); @@ -1243,7 +1243,7 @@ void Field::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Field) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1399,7 +1399,7 @@ Enum::~Enum() { } inline void Enum::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.enumvalue_.~RepeatedPtrField(); _impl_.options_.~RepeatedPtrField(); _impl_.name_.Destroy(); @@ -1624,7 +1624,7 @@ void Enum::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_ auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Enum) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1737,7 +1737,7 @@ EnumValue::~EnumValue() { } inline void EnumValue::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.options_.~RepeatedPtrField(); _impl_.name_.Destroy(); } @@ -1902,7 +1902,7 @@ void EnumValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValue) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -2014,7 +2014,7 @@ Option::~Option() { } inline void Option::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.name_.Destroy(); if (this != internal_default_instance()) delete _impl_.value_; } @@ -2153,7 +2153,7 @@ void Option::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Option) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index 32552fb7158b..94b49a613847 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -271,7 +271,7 @@ class PROTOBUF_EXPORT Type final : } void UnsafeArenaSwap(Type* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -519,7 +519,7 @@ class PROTOBUF_EXPORT Field final : } void UnsafeArenaSwap(Field* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -849,7 +849,7 @@ class PROTOBUF_EXPORT Enum final : } void UnsafeArenaSwap(Enum* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -1069,7 +1069,7 @@ class PROTOBUF_EXPORT EnumValue final : } void UnsafeArenaSwap(EnumValue* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -1251,7 +1251,7 @@ class PROTOBUF_EXPORT Option final : } void UnsafeArenaSwap(Option* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -1489,7 +1489,7 @@ inline void Type::set_oneofs(int index, std::string&& value) { // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs) } inline void Type::set_oneofs(int index, const char* value) { - GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Mutable(index)->assign(value); + ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs) } inline void Type::set_oneofs(int index, absl::string_view value) { @@ -1513,7 +1513,7 @@ inline void Type::add_oneofs(std::string&& value) { // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs) } inline void Type::add_oneofs(const char* value) { - GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Add()->assign(value); + ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs) } inline void Type::add_oneofs(absl::string_view value) { diff --git a/src/google/protobuf/wrappers.pb.cc b/src/google/protobuf/wrappers.pb.cc index 9d433ad6c515..66f89f2467f6 100644 --- a/src/google/protobuf/wrappers.pb.cc +++ b/src/google/protobuf/wrappers.pb.cc @@ -355,7 +355,7 @@ DoubleValue::~DoubleValue() { } inline void DoubleValue::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void DoubleValue::SetCachedSize(int size) const { @@ -466,7 +466,7 @@ void DoubleValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DoubleValue) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -540,7 +540,7 @@ FloatValue::~FloatValue() { } inline void FloatValue::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void FloatValue::SetCachedSize(int size) const { @@ -651,7 +651,7 @@ void FloatValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FloatValue) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -725,7 +725,7 @@ Int64Value::~Int64Value() { } inline void Int64Value::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void Int64Value::SetCachedSize(int size) const { @@ -829,7 +829,7 @@ void Int64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int64Value) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -899,7 +899,7 @@ UInt64Value::~UInt64Value() { } inline void UInt64Value::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void UInt64Value::SetCachedSize(int size) const { @@ -1003,7 +1003,7 @@ void UInt64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt64Value) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1073,7 +1073,7 @@ Int32Value::~Int32Value() { } inline void Int32Value::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void Int32Value::SetCachedSize(int size) const { @@ -1177,7 +1177,7 @@ void Int32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int32Value) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1247,7 +1247,7 @@ UInt32Value::~UInt32Value() { } inline void UInt32Value::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void UInt32Value::SetCachedSize(int size) const { @@ -1351,7 +1351,7 @@ void UInt32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt32Value) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1421,7 +1421,7 @@ BoolValue::~BoolValue() { } inline void BoolValue::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void BoolValue::SetCachedSize(int size) const { @@ -1524,7 +1524,7 @@ void BoolValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BoolValue) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1609,7 +1609,7 @@ StringValue::~StringValue() { } inline void StringValue::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.value_.Destroy(); } @@ -1720,7 +1720,7 @@ void StringValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.StringValue) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1809,7 +1809,7 @@ BytesValue::~BytesValue() { } inline void BytesValue::SharedDtor() { - GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr); + ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.value_.Destroy(); } @@ -1915,7 +1915,7 @@ void BytesValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BytesValue) - GOOGLE_ABSL_DCHECK_NE(&from, _this); + ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index 843848253e40..afc46fb988cc 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -173,7 +173,7 @@ class PROTOBUF_EXPORT DoubleValue final : } void UnsafeArenaSwap(DoubleValue* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -320,7 +320,7 @@ class PROTOBUF_EXPORT FloatValue final : } void UnsafeArenaSwap(FloatValue* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -467,7 +467,7 @@ class PROTOBUF_EXPORT Int64Value final : } void UnsafeArenaSwap(Int64Value* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -614,7 +614,7 @@ class PROTOBUF_EXPORT UInt64Value final : } void UnsafeArenaSwap(UInt64Value* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -761,7 +761,7 @@ class PROTOBUF_EXPORT Int32Value final : } void UnsafeArenaSwap(Int32Value* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -908,7 +908,7 @@ class PROTOBUF_EXPORT UInt32Value final : } void UnsafeArenaSwap(UInt32Value* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -1055,7 +1055,7 @@ class PROTOBUF_EXPORT BoolValue final : } void UnsafeArenaSwap(BoolValue* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -1202,7 +1202,7 @@ class PROTOBUF_EXPORT StringValue final : } void UnsafeArenaSwap(StringValue* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } @@ -1352,7 +1352,7 @@ class PROTOBUF_EXPORT BytesValue final : } void UnsafeArenaSwap(BytesValue* other) { if (other == this) return; - GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); }