Auto-generate files after cl/601195914

pull/15572/head
Protobuf Team Bot 10 months ago
parent ca5ca62fa6
commit 570c386f5e
  1. 5
      php/ext/google/protobuf/php-upb.c
  2. 5
      ruby/ext/google/protobuf_c/ruby-upb.c

@ -5503,7 +5503,7 @@ upb_Map* upb_Map_DeepClone(const upb_Map* map, upb_CType key_type,
const upb_MiniTableField* value_field = const upb_MiniTableField* value_field =
&map_entry_table->UPB_PRIVATE(fields)[1]; &map_entry_table->UPB_PRIVATE(fields)[1];
const upb_MiniTable* value_sub = const upb_MiniTable* value_sub =
(value_field->UPB_PRIVATE(submsg_index) != kUpb_NoSub) upb_MiniTableField_CType(value_field) == kUpb_CType_Message
? upb_MiniTable_GetSubMessageTable(map_entry_table, value_field) ? upb_MiniTable_GetSubMessageTable(map_entry_table, value_field)
: NULL; : NULL;
upb_CType value_field_type = upb_MiniTableField_CType(value_field); upb_CType value_field_type = upb_MiniTableField_CType(value_field);
@ -5570,8 +5570,7 @@ static bool upb_Message_Array_DeepClone(const upb_Array* array,
UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(field); UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(field);
upb_Array* cloned_array = upb_Array_DeepClone( upb_Array* cloned_array = upb_Array_DeepClone(
array, upb_MiniTableField_CType(field), array, upb_MiniTableField_CType(field),
upb_MiniTableField_CType(field) == kUpb_CType_Message && upb_MiniTableField_CType(field) == kUpb_CType_Message
field->UPB_PRIVATE(submsg_index) != kUpb_NoSub
? upb_MiniTable_GetSubMessageTable(mini_table, field) ? upb_MiniTable_GetSubMessageTable(mini_table, field)
: NULL, : NULL,
arena); arena);

@ -5017,7 +5017,7 @@ upb_Map* upb_Map_DeepClone(const upb_Map* map, upb_CType key_type,
const upb_MiniTableField* value_field = const upb_MiniTableField* value_field =
&map_entry_table->UPB_PRIVATE(fields)[1]; &map_entry_table->UPB_PRIVATE(fields)[1];
const upb_MiniTable* value_sub = const upb_MiniTable* value_sub =
(value_field->UPB_PRIVATE(submsg_index) != kUpb_NoSub) upb_MiniTableField_CType(value_field) == kUpb_CType_Message
? upb_MiniTable_GetSubMessageTable(map_entry_table, value_field) ? upb_MiniTable_GetSubMessageTable(map_entry_table, value_field)
: NULL; : NULL;
upb_CType value_field_type = upb_MiniTableField_CType(value_field); upb_CType value_field_type = upb_MiniTableField_CType(value_field);
@ -5084,8 +5084,7 @@ static bool upb_Message_Array_DeepClone(const upb_Array* array,
UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(field); UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(field);
upb_Array* cloned_array = upb_Array_DeepClone( upb_Array* cloned_array = upb_Array_DeepClone(
array, upb_MiniTableField_CType(field), array, upb_MiniTableField_CType(field),
upb_MiniTableField_CType(field) == kUpb_CType_Message && upb_MiniTableField_CType(field) == kUpb_CType_Message
field->UPB_PRIVATE(submsg_index) != kUpb_NoSub
? upb_MiniTable_GetSubMessageTable(mini_table, field) ? upb_MiniTable_GetSubMessageTable(mini_table, field)
: NULL, : NULL,
arena); arena);

Loading…
Cancel
Save