|
|
@ -644,7 +644,7 @@ void FileGenerator::GenerateSource(io::Printer* printer) { |
|
|
|
"\n" |
|
|
|
"\n" |
|
|
|
"// @@protoc_insertion_point(global_scope)\n" |
|
|
|
"// @@protoc_insertion_point(global_scope)\n" |
|
|
|
"\n" |
|
|
|
"\n" |
|
|
|
"// clange-format on\n"); |
|
|
|
"// clang-format on\n"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Helper to print the import of the runtime support at the top of generated
|
|
|
|
// Helper to print the import of the runtime support at the top of generated
|
|
|
@ -655,9 +655,8 @@ void FileGenerator::PrintFileRuntimePreamble( |
|
|
|
const std::vector<std::string>& headers_to_import) const { |
|
|
|
const std::vector<std::string>& headers_to_import) const { |
|
|
|
printer->Print( |
|
|
|
printer->Print( |
|
|
|
"// Generated by the protocol buffer compiler. DO NOT EDIT!\n" |
|
|
|
"// Generated by the protocol buffer compiler. DO NOT EDIT!\n" |
|
|
|
"// source: $filename$\n" |
|
|
|
|
|
|
|
"\n" |
|
|
|
|
|
|
|
"// clang-format off\n" |
|
|
|
"// clang-format off\n" |
|
|
|
|
|
|
|
"// source: $filename$\n" |
|
|
|
"\n", |
|
|
|
"\n", |
|
|
|
"filename", file_->name()); |
|
|
|
"filename", file_->name()); |
|
|
|
|
|
|
|
|
|
|
|