Internal change

PiperOrigin-RevId: 559714022
pull/13627/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 77e3698ccf
commit 2eb767552e
  1. 1
      src/google/protobuf/compiler/cpp/enum.cc
  2. 1
      src/google/protobuf/compiler/cpp/enum.h

@ -288,6 +288,7 @@ void EnumGenerator::GenerateGetEnumDescriptorSpecializations(io::Printer* p) {
)cc");
}
void EnumGenerator::GenerateSymbolImports(io::Printer* p) const {
auto v = p->WithVars(EnumVars(enum_, options_, limits_.min, limits_.max));

@ -63,6 +63,7 @@ class EnumGenerator {
// Precondition: in ::google::protobuf namespace.
void GenerateGetEnumDescriptorSpecializations(io::Printer* p);
// For enums nested within a message, generate code to import all the enum's
// symbols (e.g. the enum type name, all its values, etc.) into the class's
// namespace. This should be placed inside the class definition in the

Loading…
Cancel
Save