From de5ee4f7d6e15b0ec4a44ad1bdabea3cf0b31c68 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Wed, 8 Mar 2023 09:49:04 -0800 Subject: [PATCH] Internal changes to extensions. PiperOrigin-RevId: 515063881 --- src/google/protobuf/descriptor.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/google/protobuf/descriptor.cc b/src/google/protobuf/descriptor.cc index efcd86e358..9a38da5286 100644 --- a/src/google/protobuf/descriptor.cc +++ b/src/google/protobuf/descriptor.cc @@ -3937,6 +3937,7 @@ class DescriptorBuilder { void SuggestFieldNumbers(FileDescriptor* file, const FileDescriptorProto& proto); + // Must be run only after cross-linking. void InterpretOptions(); @@ -6462,6 +6463,7 @@ void DescriptorBuilder::CrossLinkExtensionRange( } + void DescriptorBuilder::CrossLinkField(FieldDescriptor* field, const FieldDescriptorProto& proto) { if (field->options_ == nullptr) {