aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/csharp_generator_helpers.h
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-07-01 11:58:04 -0700
committerGravatar Masood Malekghassemi <atash@google.com>2016-07-12 13:20:39 -0700
commitac59245624c7681b54ce30a9b0a073f645cce014 (patch)
tree9e249870e9e3908af0f0425ba3126bbc6f952e26 /src/compiler/csharp_generator_helpers.h
parent1fa0faa2e2c001691a9c76f6362fe6a2d5a6b849 (diff)
Clang-format all the things
Diffstat (limited to 'src/compiler/csharp_generator_helpers.h')
-rw-r--r--src/compiler/csharp_generator_helpers.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compiler/csharp_generator_helpers.h b/src/compiler/csharp_generator_helpers.h
index 9bdf6fb535..f5d36f257a 100644
--- a/src/compiler/csharp_generator_helpers.h
+++ b/src/compiler/csharp_generator_helpers.h
@@ -41,14 +41,16 @@ namespace grpc_csharp_generator {
inline bool ServicesFilename(const grpc::protobuf::FileDescriptor *file,
grpc::string *file_name_or_error) {
- *file_name_or_error = grpc_generator::FileNameInUpperCamel(file, false) + "Grpc.cs";
+ *file_name_or_error =
+ grpc_generator::FileNameInUpperCamel(file, false) + "Grpc.cs";
return true;
}
// Get leading or trailing comments in a string. Comment lines start with "// ".
// Leading detached comments are put in in front of leading comments.
template <typename DescriptorType>
-inline grpc::string GetCsharpComments(const DescriptorType *desc, bool leading) {
+inline grpc::string GetCsharpComments(const DescriptorType *desc,
+ bool leading) {
return grpc_generator::GetPrefixedComments(desc, leading, "//");
}