aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorspacelord <spacelord@yandex-team.ru>2022-02-10 16:48:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:15 +0300
commita0c6d9ad0cf6b94c527a15da147eb24335281b6d (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /contrib
parent16747e4f77455cca4932df21eb76f12cb0a97a5c (diff)
downloadydb-a0c6d9ad0cf6b94c527a15da147eb24335281b6d.tar.gz
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp b/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp
index ca0ebb4739..cd96aa0565 100644
--- a/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp
+++ b/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp
@@ -715,20 +715,20 @@ namespace NPlugins {
}
}
- void GenerateDeclarations() {
- GenerateFieldAccessorDeclarations();
-
+ void GenerateDeclarations() {
+ GenerateFieldAccessorDeclarations();
+
for (auto& nestedGenerator: NestedGenerators_) {
nestedGenerator.GenerateDeclarations();
- }
- }
-
- void GenerateDefinitions() {
- GenerateClassExtension();
- GenerateDebugOutputExtension();
- GenerateClassDefinitionExtension();
- }
-
+ }
+ }
+
+ void GenerateDefinitions() {
+ GenerateClassExtension();
+ GenerateDebugOutputExtension();
+ GenerateClassDefinitionExtension();
+ }
+
private:
void GenerateFieldAccessorDeclarations() {
TProtoStringType fileName = HeaderFileName(Descriptor_->file());
@@ -835,7 +835,7 @@ namespace NPlugins {
return;
}
- TProtoStringType fileName = SourceFileName(Descriptor_->file());
+ TProtoStringType fileName = SourceFileName(Descriptor_->file());
TProtoStringType scope = "namespace_scope";
std::unique_ptr<io::ZeroCopyOutputStream> output(
OutputDirectory_->OpenForInsert(fileName, scope));