aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/objective_c_plugin.cc
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2017-06-19 10:32:15 -0700
committerGravatar GitHub <noreply@github.com>2017-06-19 10:32:15 -0700
commit070a8eeb281a2659501a60b1bbc86798fcb652c4 (patch)
tree21a0ad0690bf9333c5632e12dd3b21c699be4754 /src/compiler/objective_c_plugin.cc
parentf0b4c9c78706b2421a072257784554205697ccac (diff)
parent035f7e4839c272ef48c0c14c8dbf719e3a52a624 (diff)
Merge pull request #11341 from muxi/fix-objc-plugin-output
Fixes gRPC ObjC plugin's upper camel conversion
Diffstat (limited to 'src/compiler/objective_c_plugin.cc')
-rw-r--r--src/compiler/objective_c_plugin.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/objective_c_plugin.cc b/src/compiler/objective_c_plugin.cc
index bd9bc7482c..96a3375e96 100644
--- a/src/compiler/objective_c_plugin.cc
+++ b/src/compiler/objective_c_plugin.cc
@@ -44,7 +44,8 @@ class ObjectiveCGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
return true;
}
- ::grpc::string file_name = grpc_generator::FileNameInUpperCamel(file);
+ ::grpc::string file_name =
+ google::protobuf::compiler::objectivec::FilePath(file);
::grpc::string prefix = file->options().objc_class_prefix();
{