Auto-generate files after cl/562810187

pull/13856/head
Protobuf Team Bot 1 year ago
parent 5df5d77f5b
commit d6c1170096
  1. 2
      src/google/protobuf/any.pb.cc
  2. 6
      src/google/protobuf/api.pb.cc
  3. 2
      src/google/protobuf/duration.pb.cc
  4. 2
      src/google/protobuf/field_mask.pb.cc
  5. 2
      src/google/protobuf/source_context.pb.cc
  6. 6
      src/google/protobuf/struct.pb.cc
  7. 2
      src/google/protobuf/timestamp.pb.cc
  8. 10
      src/google/protobuf/type.pb.cc
  9. 18
      src/google/protobuf/wrappers.pb.cc

@ -360,7 +360,7 @@ PROTOBUF_NOINLINE bool Any::IsInitialized() const {
::_pbi::CachedSize* Any::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Any::InternalSwap(Any* other) {
void Any::InternalSwap(Any* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();

@ -623,7 +623,7 @@ PROTOBUF_NOINLINE bool Api::IsInitialized() const {
::_pbi::CachedSize* Api::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Api::InternalSwap(Api* other) {
void Api::InternalSwap(Api* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
@ -1012,7 +1012,7 @@ PROTOBUF_NOINLINE bool Method::IsInitialized() const {
::_pbi::CachedSize* Method::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Method::InternalSwap(Method* other) {
void Method::InternalSwap(Method* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
@ -1254,7 +1254,7 @@ PROTOBUF_NOINLINE bool Mixin::IsInitialized() const {
::_pbi::CachedSize* Mixin::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Mixin::InternalSwap(Mixin* other) {
void Mixin::InternalSwap(Mixin* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();

@ -295,7 +295,7 @@ PROTOBUF_NOINLINE bool Duration::IsInitialized() const {
::_pbi::CachedSize* Duration::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Duration::InternalSwap(Duration* other) {
void Duration::InternalSwap(Duration* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::google::protobuf::internal::memswap<

@ -277,7 +277,7 @@ PROTOBUF_NOINLINE bool FieldMask::IsInitialized() const {
::_pbi::CachedSize* FieldMask::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void FieldMask::InternalSwap(FieldMask* other) {
void FieldMask::InternalSwap(FieldMask* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.paths_.InternalSwap(&other->_impl_.paths_);

@ -293,7 +293,7 @@ PROTOBUF_NOINLINE bool SourceContext::IsInitialized() const {
::_pbi::CachedSize* SourceContext::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void SourceContext::InternalSwap(SourceContext* other) {
void SourceContext::InternalSwap(SourceContext* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();

@ -418,7 +418,7 @@ PROTOBUF_NOINLINE bool Struct::IsInitialized() const {
::_pbi::CachedSize* Struct::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Struct::InternalSwap(Struct* other) {
void Struct::InternalSwap(Struct* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.fields_.InternalSwap(&other->_impl_.fields_);
@ -821,7 +821,7 @@ PROTOBUF_NOINLINE bool Value::IsInitialized() const {
::_pbi::CachedSize* Value::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Value::InternalSwap(Value* other) {
void Value::InternalSwap(Value* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.kind_, other->_impl_.kind_);
@ -996,7 +996,7 @@ PROTOBUF_NOINLINE bool ListValue::IsInitialized() const {
::_pbi::CachedSize* ListValue::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void ListValue::InternalSwap(ListValue* other) {
void ListValue::InternalSwap(ListValue* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.values_.InternalSwap(&other->_impl_.values_);

@ -295,7 +295,7 @@ PROTOBUF_NOINLINE bool Timestamp::IsInitialized() const {
::_pbi::CachedSize* Timestamp::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Timestamp::InternalSwap(Timestamp* other) {
void Timestamp::InternalSwap(Timestamp* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::google::protobuf::internal::memswap<

@ -801,7 +801,7 @@ PROTOBUF_NOINLINE bool Type::IsInitialized() const {
::_pbi::CachedSize* Type::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Type::InternalSwap(Type* other) {
void Type::InternalSwap(Type* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
@ -1279,7 +1279,7 @@ PROTOBUF_NOINLINE bool Field::IsInitialized() const {
::_pbi::CachedSize* Field::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Field::InternalSwap(Field* other) {
void Field::InternalSwap(Field* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
@ -1660,7 +1660,7 @@ PROTOBUF_NOINLINE bool Enum::IsInitialized() const {
::_pbi::CachedSize* Enum::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Enum::InternalSwap(Enum* other) {
void Enum::InternalSwap(Enum* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
@ -1916,7 +1916,7 @@ PROTOBUF_NOINLINE bool EnumValue::IsInitialized() const {
::_pbi::CachedSize* EnumValue::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void EnumValue::InternalSwap(EnumValue* other) {
void EnumValue::InternalSwap(EnumValue* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
@ -2165,7 +2165,7 @@ PROTOBUF_NOINLINE bool Option::IsInitialized() const {
::_pbi::CachedSize* Option::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Option::InternalSwap(Option* other) {
void Option::InternalSwap(Option* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();

@ -510,7 +510,7 @@ PROTOBUF_NOINLINE bool DoubleValue::IsInitialized() const {
::_pbi::CachedSize* DoubleValue::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void DoubleValue::InternalSwap(DoubleValue* other) {
void DoubleValue::InternalSwap(DoubleValue* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_);
@ -691,7 +691,7 @@ PROTOBUF_NOINLINE bool FloatValue::IsInitialized() const {
::_pbi::CachedSize* FloatValue::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void FloatValue::InternalSwap(FloatValue* other) {
void FloatValue::InternalSwap(FloatValue* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_);
@ -858,7 +858,7 @@ PROTOBUF_NOINLINE bool Int64Value::IsInitialized() const {
::_pbi::CachedSize* Int64Value::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Int64Value::InternalSwap(Int64Value* other) {
void Int64Value::InternalSwap(Int64Value* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_);
@ -1025,7 +1025,7 @@ PROTOBUF_NOINLINE bool UInt64Value::IsInitialized() const {
::_pbi::CachedSize* UInt64Value::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void UInt64Value::InternalSwap(UInt64Value* other) {
void UInt64Value::InternalSwap(UInt64Value* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_);
@ -1192,7 +1192,7 @@ PROTOBUF_NOINLINE bool Int32Value::IsInitialized() const {
::_pbi::CachedSize* Int32Value::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void Int32Value::InternalSwap(Int32Value* other) {
void Int32Value::InternalSwap(Int32Value* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_);
@ -1359,7 +1359,7 @@ PROTOBUF_NOINLINE bool UInt32Value::IsInitialized() const {
::_pbi::CachedSize* UInt32Value::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void UInt32Value::InternalSwap(UInt32Value* other) {
void UInt32Value::InternalSwap(UInt32Value* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_);
@ -1525,7 +1525,7 @@ PROTOBUF_NOINLINE bool BoolValue::IsInitialized() const {
::_pbi::CachedSize* BoolValue::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void BoolValue::InternalSwap(BoolValue* other) {
void BoolValue::InternalSwap(BoolValue* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_);
@ -1714,7 +1714,7 @@ PROTOBUF_NOINLINE bool StringValue::IsInitialized() const {
::_pbi::CachedSize* StringValue::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void StringValue::InternalSwap(StringValue* other) {
void StringValue::InternalSwap(StringValue* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
@ -1901,7 +1901,7 @@ PROTOBUF_NOINLINE bool BytesValue::IsInitialized() const {
::_pbi::CachedSize* BytesValue::AccessCachedSize() const {
return &_impl_._cached_size_;
}
void BytesValue::InternalSwap(BytesValue* other) {
void BytesValue::InternalSwap(BytesValue* PROTOBUF_RESTRICT other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();

Loading…
Cancel
Save