Remove unused dead code.

Nothing refers to this code.

PiperOrigin-RevId: 622175593
pull/16423/head
Dave MacLachlan 8 months ago committed by Copybara-Service
parent f421dc42b5
commit 090525f3f2
  1. 8
      src/google/protobuf/compiler/objectivec/extension.cc
  2. 1
      src/google/protobuf/compiler/objectivec/extension.h

@ -134,14 +134,6 @@ void ExtensionGenerator::DetermineNeededFiles(
} }
} }
void ExtensionGenerator::GenerateRegistrationSource(
io::Printer* printer) const {
printer->Emit({{"full_method_name", full_method_name_}},
R"objc(
[registry addExtension:$full_method_name$];
)objc");
}
} // namespace objectivec } // namespace objectivec
} // namespace compiler } // namespace compiler
} // namespace protobuf } // namespace protobuf

@ -34,7 +34,6 @@ class ExtensionGenerator {
void GenerateMembersHeader(io::Printer* printer) const; void GenerateMembersHeader(io::Printer* printer) const;
void GenerateStaticVariablesInitialization(io::Printer* printer) const; void GenerateStaticVariablesInitialization(io::Printer* printer) const;
void GenerateRegistrationSource(io::Printer* printer) const;
void DetermineObjectiveCClassDefinitions( void DetermineObjectiveCClassDefinitions(
absl::btree_set<std::string>* fwd_decls) const; absl::btree_set<std::string>* fwd_decls) const;
void DetermineNeededFiles( void DetermineNeededFiles(

Loading…
Cancel
Save