|
|
|
@ -59,7 +59,6 @@ |
|
|
|
|
#include "absl/log/globals.h" |
|
|
|
|
#include "absl/status/status.h" |
|
|
|
|
#include "absl/status/statusor.h" |
|
|
|
|
#include "absl/strings/ascii.h" |
|
|
|
|
#include "absl/strings/match.h" |
|
|
|
|
#include "absl/strings/str_cat.h" |
|
|
|
|
#include "absl/strings/str_format.h" |
|
|
|
@ -1497,7 +1496,6 @@ PopulateSingleSimpleDescriptorDatabase(const std::string& descriptor_set_name) { |
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool CommandLineInterface::VerifyInputFilesInDescriptors( |
|
|
|
|
DescriptorDatabase* database) { |
|
|
|
|
for (const auto& input_file : input_files_) { |
|
|
|
@ -1516,7 +1514,6 @@ bool CommandLineInterface::VerifyInputFilesInDescriptors( |
|
|
|
|
<< std::endl; |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
@ -1619,7 +1616,6 @@ bool CommandLineInterface::ParseInputFiles( |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Enforce --direct_dependencies
|
|
|
|
|
if (direct_dependencies_explicitly_set_) { |
|
|
|
|
bool indirect_imports = false; |
|
|
|
@ -2222,8 +2218,6 @@ CommandLineInterface::InterpretArgument(const std::string& name, |
|
|
|
|
|
|
|
|
|
} else if (name == "--disallow_services") { |
|
|
|
|
disallow_services_ = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (name == "--experimental_allow_proto3_optional") { |
|
|
|
|
// Flag is no longer observed, but we allow it for backward compat.
|
|
|
|
|
} else if (name == "--encode" || name == "--decode" || |
|
|
|
|