Fixing clang_tidy_format.sh issues.

pull/18373/head
Karthik Ravi Shankar 6 years ago
parent 49773cbe9a
commit 392554e341
  1. 11
      include/grpcpp/create_channel_posix.h
  2. 7
      include/grpcpp/create_channel_posix_impl.h

@ -25,8 +25,8 @@ namespace grpc {
#ifdef GPR_SUPPORT_CHANNELS_FROM_FD
static inline std::shared_ptr<Channel> CreateInsecureChannelFromFd(const grpc::string& target,
int fd) {
static inline std::shared_ptr<Channel> CreateInsecureChannelFromFd(
const grpc::string& target, int fd) {
return ::grpc_impl::CreateInsecureChannelFromFd(target, fd);
}
@ -37,12 +37,14 @@ static inline std::shared_ptr<Channel> CreateCustomInsecureChannelFromFd(
namespace experimental {
static inline std::shared_ptr<Channel> CreateCustomInsecureChannelWithInterceptorsFromFd(
static inline std::shared_ptr<Channel>
CreateCustomInsecureChannelWithInterceptorsFromFd(
const grpc::string& target, int fd, const ChannelArguments& args,
std::unique_ptr<std::vector<
std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>>
interceptor_creators) {
return CreateCustomInsecureChannelWithInterceptorsFromFd(target, fd, args, std::move(interceptor_creators));
return CreateCustomInsecureChannelWithInterceptorsFromFd(
target, fd, args, std::move(interceptor_creators));
}
} // namespace experimental
@ -51,5 +53,4 @@ static inline std::shared_ptr<Channel> CreateCustomInsecureChannelWithIntercepto
} // namespace grpc
#endif // GRPCPP_CREATE_CHANNEL_POSIX_H

@ -33,8 +33,8 @@ namespace grpc_impl {
///
/// \param target The name of the target.
/// \param fd The file descriptor representing a socket.
std::shared_ptr<grpc::Channel> CreateInsecureChannelFromFd(const grpc::string& target,
int fd);
std::shared_ptr<grpc::Channel> CreateInsecureChannelFromFd(
const grpc::string& target, int fd);
/// Create a new \a Channel communicating over given file descriptor with custom
/// channel arguments.
@ -54,7 +54,8 @@ namespace experimental {
/// \param fd The file descriptor representing a socket.
/// \param args Options for channel creation.
/// \param interceptor_creators Vector of interceptor factory objects.
std::shared_ptr<grpc::Channel> CreateCustomInsecureChannelWithInterceptorsFromFd(
std::shared_ptr<grpc::Channel>
CreateCustomInsecureChannelWithInterceptorsFromFd(
const grpc::string& target, int fd, const grpc::ChannelArguments& args,
std::unique_ptr<std::vector<
std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>>>

Loading…
Cancel
Save