aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/command_line_interface.h
diff options
context:
space:
mode:
authorGravatar Bo Yang <paulyang1211@gmail.com>2015-02-04 13:42:16 -0800
committerGravatar Bo Yang <paulyang1211@gmail.com>2015-02-04 13:42:16 -0800
commit3edcbaf57a3dc3bc60a9c8e80e9edac813d86b1d (patch)
tree07ffed271b7026195d7685361c953409e486bdad /src/google/protobuf/compiler/command_line_interface.h
parent2e32b8b569f316acc405a36dfad2c742438cb41f (diff)
Clean code
Diffstat (limited to 'src/google/protobuf/compiler/command_line_interface.h')
-rw-r--r--src/google/protobuf/compiler/command_line_interface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/google/protobuf/compiler/command_line_interface.h b/src/google/protobuf/compiler/command_line_interface.h
index 13e93c54..92c578c8 100644
--- a/src/google/protobuf/compiler/command_line_interface.h
+++ b/src/google/protobuf/compiler/command_line_interface.h
@@ -247,10 +247,10 @@ class LIBPROTOC_EXPORT CommandLineInterface {
// Implements the --descriptor_set_out option.
bool WriteDescriptorSet(const vector<const FileDescriptor*> parsed_files);
- // Implements the --manifest-file option
+ // Implements the --dependency_out option
bool GenerateDependencyManifestFile(
- const vector<const FileDescriptor*> parsed_files,
- DiskSourceTree * source_tree);
+ const vector<const FileDescriptor*>& parsed_files,
+ DiskSourceTree* source_tree);
// Get all transitive dependencies of the given file (including the file
// itself), adding them to the given list of FileDescriptorProtos. The
@@ -360,7 +360,7 @@ class LIBPROTOC_EXPORT CommandLineInterface {
// If --dependency_out was given, this is the filename to which the input file
// should be written. Otherwise, empty.
- string dependency_manifest_name_;
+ string dependency_out_name_;
// True if --include_imports was given, meaning that we should
// write all transitive dependencies to the DescriptorSet. Otherwise, only