Merge pull request #9738 from ronilichtman/patch-1
Remove unused `HasTopLevelEnums` function
This commit is contained in:
commit
205117c44b
@ -90,12 +90,6 @@ std::string ModuleAlias(const std::string& filename) {
|
||||
// in proto2/public/reflection.py.
|
||||
const char kDescriptorKey[] = "DESCRIPTOR";
|
||||
|
||||
|
||||
// Does the file have top-level enums?
|
||||
inline bool HasTopLevelEnums(const FileDescriptor* file) {
|
||||
return file->enum_type_count() > 0;
|
||||
}
|
||||
|
||||
// file output by this generator.
|
||||
void PrintTopBoilerplate(io::Printer* printer, const FileDescriptor* file,
|
||||
bool descriptor_proto) {
|
||||
|
Loading…
Reference in New Issue
Block a user