Auto-generate files after cl/669513564

pull/18060/head
Protobuf Team Bot 6 months ago
parent 8422e9795f
commit 6ec8f87b38
  1. 19
      php/ext/google/protobuf/php-upb.c
  2. 5
      php/ext/google/protobuf/php-upb.h
  3. 19
      ruby/ext/google/protobuf_c/ruby-upb.c
  4. 5
      ruby/ext/google/protobuf_c/ruby-upb.h

@ -330,10 +330,6 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DEPRECATED
#endif
// begin:google_only
// #define UPB_IS_GOOGLE3
// end:google_only
#if defined(UPB_IS_GOOGLE3) && \
(!defined(UPB_BOOTSTRAP_STAGE) || UPB_BOOTSTRAP_STAGE != 0)
#define UPB_DESC(sym) proto2_##sym
@ -346,6 +342,7 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init
#endif
#undef UPB_IS_GOOGLE3
// Linker arrays combine elements from multiple translation units into a single
// array that can be iterated over at runtime.
@ -14350,20 +14347,6 @@ static bool _upb_FieldDef_InferLegacyFeatures(
ret = true;
}
// begin:google_only
// #if UPB_BOOTSTRAP_STAGE != 0
// if (syntax == kUpb_Syntax_Proto3 &&
// UPB_DESC(FieldOptions_has_enforce_utf8)(options) &&
// !UPB_DESC(FieldOptions_enforce_utf8)(options)) {
// int val = UPB_DESC(FeatureSet_UNVERIFIED);
// UPB_DESC(FeatureSet_set_utf8_validation(features, val));
// ret = true;
// }
// #endif
// // clang-format off
// end:google_only
// clang-format on
return ret;
}

@ -329,10 +329,6 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DEPRECATED
#endif
// begin:google_only
// #define UPB_IS_GOOGLE3
// end:google_only
#if defined(UPB_IS_GOOGLE3) && \
(!defined(UPB_BOOTSTRAP_STAGE) || UPB_BOOTSTRAP_STAGE != 0)
#define UPB_DESC(sym) proto2_##sym
@ -345,6 +341,7 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init
#endif
#undef UPB_IS_GOOGLE3
// Linker arrays combine elements from multiple translation units into a single
// array that can be iterated over at runtime.

@ -330,10 +330,6 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DEPRECATED
#endif
// begin:google_only
// #define UPB_IS_GOOGLE3
// end:google_only
#if defined(UPB_IS_GOOGLE3) && \
(!defined(UPB_BOOTSTRAP_STAGE) || UPB_BOOTSTRAP_STAGE != 0)
#define UPB_DESC(sym) proto2_##sym
@ -346,6 +342,7 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init
#endif
#undef UPB_IS_GOOGLE3
// Linker arrays combine elements from multiple translation units into a single
// array that can be iterated over at runtime.
@ -13838,20 +13835,6 @@ static bool _upb_FieldDef_InferLegacyFeatures(
ret = true;
}
// begin:google_only
// #if UPB_BOOTSTRAP_STAGE != 0
// if (syntax == kUpb_Syntax_Proto3 &&
// UPB_DESC(FieldOptions_has_enforce_utf8)(options) &&
// !UPB_DESC(FieldOptions_enforce_utf8)(options)) {
// int val = UPB_DESC(FeatureSet_UNVERIFIED);
// UPB_DESC(FeatureSet_set_utf8_validation(features, val));
// ret = true;
// }
// #endif
// // clang-format off
// end:google_only
// clang-format on
return ret;
}

@ -331,10 +331,6 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DEPRECATED
#endif
// begin:google_only
// #define UPB_IS_GOOGLE3
// end:google_only
#if defined(UPB_IS_GOOGLE3) && \
(!defined(UPB_BOOTSTRAP_STAGE) || UPB_BOOTSTRAP_STAGE != 0)
#define UPB_DESC(sym) proto2_##sym
@ -347,6 +343,7 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init
#endif
#undef UPB_IS_GOOGLE3
// Linker arrays combine elements from multiple translation units into a single
// array that can be iterated over at runtime.

Loading…
Cancel
Save