upb: delete unused function in the C code generator

PiperOrigin-RevId: 578873644
pull/14610/head
Eric Salo 1 year ago committed by Copybara-Service
parent 7daa16947b
commit 9a610f02f8
  1. 9
      upb_generator/protoc-gen-upb.cc

@ -835,15 +835,6 @@ void GenerateMessageInHeader(upb::MessageDefPtr message,
output("\n");
}
void ForwardDeclareMiniTableInit(upb::MessageDefPtr message,
const Options& options, Output& output) {
if (options.bootstrap) {
output("extern const upb_MiniTable* $0();\n", MessageInitName(message));
} else {
output("extern const upb_MiniTable $0;\n", MessageInitName(message));
}
}
std::vector<upb::MessageDefPtr> SortedForwardMessages(
const std::vector<upb::MessageDefPtr>& this_file_messages,
const std::vector<upb::FieldDefPtr>& this_file_exts) {

Loading…
Cancel
Save