From c9eeb1c8a73f64fbdd7189c2aeaff6272f423e5d Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 2 May 2024 09:38:49 -0700 Subject: [PATCH] Internal changes. PiperOrigin-RevId: 630090538 --- upb/reflection/stage0/google/protobuf/descriptor.upb.h | 3 ++- upb_generator/common.cc | 6 +++++- upb_generator/stage0/google/protobuf/compiler/plugin.upb.h | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/upb/reflection/stage0/google/protobuf/descriptor.upb.h b/upb/reflection/stage0/google/protobuf/descriptor.upb.h index 33287809bf..9bc4bbbb14 100644 --- a/upb/reflection/stage0/google/protobuf/descriptor.upb.h +++ b/upb/reflection/stage0/google/protobuf/descriptor.upb.h @@ -3,7 +3,8 @@ * google/protobuf/descriptor.proto * * Do not edit -- your changes will be discarded when the file is - * regenerated. */ + * regenerated. + * NO CHECKED-IN PROTOBUF GENCODE */ #ifndef GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ #define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ diff --git a/upb_generator/common.cc b/upb_generator/common.cc index 3bda1a3cab..f7f408128e 100644 --- a/upb_generator/common.cc +++ b/upb_generator/common.cc @@ -51,7 +51,11 @@ void EmitFileWarning(absl::string_view name, Output& output) { " * $0\n" " *\n" " * Do not edit -- your changes will be discarded when the file is\n" - " * regenerated. */\n\n", + " * regenerated.\n" + " * NO CHECKED-IN " + // Intentional line break. + "PROTOBUF GENCODE */\n" + "\n", name); } diff --git a/upb_generator/stage0/google/protobuf/compiler/plugin.upb.h b/upb_generator/stage0/google/protobuf/compiler/plugin.upb.h index 1ccffa7b7e..50c2d24823 100644 --- a/upb_generator/stage0/google/protobuf/compiler/plugin.upb.h +++ b/upb_generator/stage0/google/protobuf/compiler/plugin.upb.h @@ -3,7 +3,8 @@ * google/protobuf/compiler/plugin.proto * * Do not edit -- your changes will be discarded when the file is - * regenerated. */ + * regenerated. + * NO CHECKED-IN PROTOBUF GENCODE */ #ifndef GOOGLE_PROTOBUF_COMPILER_PLUGIN_PROTO_UPB_H_ #define GOOGLE_PROTOBUF_COMPILER_PLUGIN_PROTO_UPB_H_