Verify more than one message set entities.

PiperOrigin-RevId: 607427370
pull/15831/head
Protobuf Team Bot 10 months ago committed by Copybara-Service
parent eb70b343aa
commit 5553de265e
  1. 1
      src/google/protobuf/extension_set_heavy.cc
  2. 3
      src/google/protobuf/extension_set_unittest.cc
  3. 9
      src/google/protobuf/fully_verify_message_sets_opt_out.cc

@ -16,6 +16,7 @@
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
#include "absl/base/attributes.h"
#include "absl/log/absl_check.h" #include "absl/log/absl_check.h"
#include "google/protobuf/arena.h" #include "google/protobuf/arena.h"
#include "google/protobuf/descriptor.h" #include "google/protobuf/descriptor.h"

@ -44,6 +44,9 @@ namespace protobuf {
namespace internal { namespace internal {
extern bool fully_verify_message_sets_opt_out;
namespace { namespace {
using ::google::protobuf::internal::DownCast; using ::google::protobuf::internal::DownCast;

@ -0,0 +1,9 @@
namespace google {
namespace protobuf {
namespace internal {
bool fully_verify_message_sets_opt_out = true;
} // namespace internal
} // namespace protobuf
} // namespace google
Loading…
Cancel
Save