aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-18 09:23:38 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-18 09:23:38 -0800
commit190d360defe58eec0540d50cbb5d4a8f4878c4f1 (patch)
tree22e169a0f6780559fef31d847ad226c7ebd8cb4a /src/cpp
parent0605995e55a2030c5a2a82092a253e7188b8d2fb (diff)
Add missing new-lines at end of file
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/client/channel.cc2
-rw-r--r--src/cpp/client/channel.h2
-rw-r--r--src/cpp/client/channel_arguments.cc2
-rw-r--r--src/cpp/client/client_context.cc2
-rw-r--r--src/cpp/client/client_unary_call.cc2
-rw-r--r--src/cpp/client/create_channel.cc2
-rw-r--r--src/cpp/client/credentials.cc2
-rw-r--r--src/cpp/client/internal_stub.cc2
-rw-r--r--src/cpp/common/call.cc2
-rw-r--r--src/cpp/common/completion_queue.cc2
-rw-r--r--src/cpp/common/rpc_method.cc2
-rw-r--r--src/cpp/proto/proto_utils.cc2
-rw-r--r--src/cpp/proto/proto_utils.h2
-rw-r--r--src/cpp/server/async_server_context.cc2
-rw-r--r--src/cpp/server/server.cc2
-rw-r--r--src/cpp/server/server_builder.cc2
-rw-r--r--src/cpp/server/server_context.cc2
-rw-r--r--src/cpp/server/server_credentials.cc2
-rw-r--r--src/cpp/server/thread_pool.cc2
-rw-r--r--src/cpp/server/thread_pool.h2
-rw-r--r--src/cpp/util/status.cc2
-rw-r--r--src/cpp/util/time.cc2
-rw-r--r--src/cpp/util/time.h2
23 files changed, 23 insertions, 23 deletions
diff --git a/src/cpp/client/channel.cc b/src/cpp/client/channel.cc
index 9a8ee15fdd..ca69d66cbb 100644
--- a/src/cpp/client/channel.cc
+++ b/src/cpp/client/channel.cc
@@ -99,4 +99,4 @@ void Channel::PerformOpsOnCall(CallOpBuffer *buf, Call *call) {
grpc_call_start_batch(call->call(), ops, nops, buf));
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/client/channel.h b/src/cpp/client/channel.h
index 46da754d8c..06f5a8ffdf 100644
--- a/src/cpp/client/channel.h
+++ b/src/cpp/client/channel.h
@@ -68,4 +68,4 @@ class Channel final : public ChannelInterface {
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_CLIENT_CHANNEL_H__ \ No newline at end of file
+#endif // __GRPCPP_INTERNAL_CLIENT_CHANNEL_H__
diff --git a/src/cpp/client/channel_arguments.cc b/src/cpp/client/channel_arguments.cc
index a8c71b6196..abf0fc1c0a 100644
--- a/src/cpp/client/channel_arguments.cc
+++ b/src/cpp/client/channel_arguments.cc
@@ -79,4 +79,4 @@ void ChannelArguments::SetChannelArgs(grpc_channel_args *channel_args) const {
}
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/client/client_context.cc b/src/cpp/client/client_context.cc
index 646c45a963..80cbdd93ac 100644
--- a/src/cpp/client/client_context.cc
+++ b/src/cpp/client/client_context.cc
@@ -81,4 +81,4 @@ void ClientContext::TryCancel() {
}
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/client/client_unary_call.cc b/src/cpp/client/client_unary_call.cc
index 4e71492ad0..8fdd483474 100644
--- a/src/cpp/client/client_unary_call.cc
+++ b/src/cpp/client/client_unary_call.cc
@@ -86,4 +86,4 @@ void AsyncUnaryCall(ChannelInterface *channel, const RpcMethod &method,
call.PerformOps(buf);
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/client/create_channel.cc b/src/cpp/client/create_channel.cc
index 45502b9361..acf51cb90b 100644
--- a/src/cpp/client/create_channel.cc
+++ b/src/cpp/client/create_channel.cc
@@ -50,4 +50,4 @@ std::shared_ptr<ChannelInterface> CreateChannel(
const ChannelArguments &args) {
return std::shared_ptr<ChannelInterface>(new Channel(target, creds, args));
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/client/credentials.cc b/src/cpp/client/credentials.cc
index 90e278157e..66571cad73 100644
--- a/src/cpp/client/credentials.cc
+++ b/src/cpp/client/credentials.cc
@@ -112,4 +112,4 @@ std::unique_ptr<Credentials> CredentialsFactory::ComposeCredentials(
return cpp_creds;
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/client/internal_stub.cc b/src/cpp/client/internal_stub.cc
index 53b66b955d..91724a4837 100644
--- a/src/cpp/client/internal_stub.cc
+++ b/src/cpp/client/internal_stub.cc
@@ -33,4 +33,4 @@
#include <grpc++/impl/internal_stub.h>
-namespace grpc {} // namespace grpc \ No newline at end of file
+namespace grpc {} // namespace grpc
diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc
index b7a6450d2c..e29c6a053d 100644
--- a/src/cpp/common/call.cc
+++ b/src/cpp/common/call.cc
@@ -283,4 +283,4 @@ void Call::PerformOps(CallOpBuffer* buffer) {
call_hook_->PerformOpsOnCall(buffer, this);
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/common/completion_queue.cc b/src/cpp/common/completion_queue.cc
index f2b75b410a..c7d883d5b0 100644
--- a/src/cpp/common/completion_queue.cc
+++ b/src/cpp/common/completion_queue.cc
@@ -82,4 +82,4 @@ bool CompletionQueue::Pluck(CompletionQueueTag *tag) {
return ok;
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/common/rpc_method.cc b/src/cpp/common/rpc_method.cc
index e536a1b135..1654d4a262 100644
--- a/src/cpp/common/rpc_method.cc
+++ b/src/cpp/common/rpc_method.cc
@@ -33,4 +33,4 @@
#include <grpc++/impl/rpc_method.h>
-namespace grpc {} // namespace grpc \ No newline at end of file
+namespace grpc {} // namespace grpc
diff --git a/src/cpp/proto/proto_utils.cc b/src/cpp/proto/proto_utils.cc
index 57098b50c4..69a6bb080e 100644
--- a/src/cpp/proto/proto_utils.cc
+++ b/src/cpp/proto/proto_utils.cc
@@ -70,4 +70,4 @@ bool DeserializeProto(grpc_byte_buffer *buffer,
return msg->ParseFromString(msg_string);
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/proto/proto_utils.h b/src/cpp/proto/proto_utils.h
index b3b0328990..834884d579 100644
--- a/src/cpp/proto/proto_utils.h
+++ b/src/cpp/proto/proto_utils.h
@@ -54,4 +54,4 @@ bool DeserializeProto(grpc_byte_buffer *buffer, google::protobuf::Message *msg);
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_PROTO_PROTO_UTILS_H__ \ No newline at end of file
+#endif // __GRPCPP_INTERNAL_PROTO_PROTO_UTILS_H__
diff --git a/src/cpp/server/async_server_context.cc b/src/cpp/server/async_server_context.cc
index 84b083ead6..5f8c2ba10f 100644
--- a/src/cpp/server/async_server_context.cc
+++ b/src/cpp/server/async_server_context.cc
@@ -92,4 +92,4 @@ bool AsyncServerContext::ParseRead(grpc_byte_buffer *read_buffer) {
return success;
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc
index 8c0844a319..da98cf5ce0 100644
--- a/src/cpp/server/server.cc
+++ b/src/cpp/server/server.cc
@@ -386,4 +386,4 @@ void Server::RunRpc() {
}
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/server/server_builder.cc b/src/cpp/server/server_builder.cc
index 1ca1acad94..3c2093c363 100644
--- a/src/cpp/server/server_builder.cc
+++ b/src/cpp/server/server_builder.cc
@@ -100,4 +100,4 @@ std::unique_ptr<Server> ServerBuilder::BuildAndStart() {
return server;
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/server/server_context.cc b/src/cpp/server/server_context.cc
index b9c82138f6..10cce450d7 100644
--- a/src/cpp/server/server_context.cc
+++ b/src/cpp/server/server_context.cc
@@ -67,4 +67,4 @@ void ServerContext::AddTrailingMetadata(const grpc::string& key,
trailing_metadata_.insert(std::make_pair(key, value));
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/server/server_credentials.cc b/src/cpp/server/server_credentials.cc
index fbd606246b..69ad000ccc 100644
--- a/src/cpp/server/server_credentials.cc
+++ b/src/cpp/server/server_credentials.cc
@@ -59,4 +59,4 @@ std::shared_ptr<ServerCredentials> ServerCredentialsFactory::SslCredentials(
return std::shared_ptr<ServerCredentials>(new ServerCredentials(c_creds));
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/server/thread_pool.cc b/src/cpp/server/thread_pool.cc
index 410e51d8b1..1ca98129d3 100644
--- a/src/cpp/server/thread_pool.cc
+++ b/src/cpp/server/thread_pool.cc
@@ -77,4 +77,4 @@ void ThreadPool::ScheduleCallback(const std::function<void()> &callback) {
cv_.notify_one();
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/server/thread_pool.h b/src/cpp/server/thread_pool.h
index 77b0f33ddc..283618f4b6 100644
--- a/src/cpp/server/thread_pool.h
+++ b/src/cpp/server/thread_pool.h
@@ -61,4 +61,4 @@ class ThreadPool final : public ThreadPoolInterface {
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_SERVER_THREAD_POOL_H__ \ No newline at end of file
+#endif // __GRPCPP_INTERNAL_SERVER_THREAD_POOL_H__
diff --git a/src/cpp/util/status.cc b/src/cpp/util/status.cc
index f29415b5b8..bbf8030668 100644
--- a/src/cpp/util/status.cc
+++ b/src/cpp/util/status.cc
@@ -38,4 +38,4 @@ namespace grpc {
const Status &Status::OK = Status();
const Status &Status::Cancelled = Status(StatusCode::CANCELLED);
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/util/time.cc b/src/cpp/util/time.cc
index 56ac476516..919e5623fa 100644
--- a/src/cpp/util/time.cc
+++ b/src/cpp/util/time.cc
@@ -63,4 +63,4 @@ system_clock::time_point Timespec2Timepoint(gpr_timespec t) {
return tp;
}
-} // namespace grpc \ No newline at end of file
+} // namespace grpc
diff --git a/src/cpp/util/time.h b/src/cpp/util/time.h
index 59c3b9d406..9f9e582d07 100644
--- a/src/cpp/util/time.h
+++ b/src/cpp/util/time.h
@@ -48,4 +48,4 @@ std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t);
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_UTIL_TIME_H__ \ No newline at end of file
+#endif // __GRPCPP_INTERNAL_UTIL_TIME_H__