Fix clang-format script
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc
index 6e71c45..ac763e4 100644
--- a/test/cpp/qps/driver.cc
+++ b/test/cpp/qps/driver.cc
@@ -153,8 +153,8 @@
// where class contained in std::vector must have a copy constructor
auto* servers = new ServerData[num_servers];
for (size_t i = 0; i < num_servers; i++) {
- servers[i].stub = Worker::NewStub(CreateChannel(workers[i],
- InsecureCredentials()));
+ servers[i].stub =
+ Worker::NewStub(CreateChannel(workers[i], InsecureCredentials()));
ServerArgs args;
result_server_config = server_config;
result_server_config.set_host(workers[i]);
@@ -181,8 +181,8 @@
// where class contained in std::vector must have a copy constructor
auto* clients = new ClientData[num_clients];
for (size_t i = 0; i < num_clients; i++) {
- clients[i].stub = Worker::NewStub(CreateChannel(workers[i + num_servers],
- InsecureCredentials()));
+ clients[i].stub = Worker::NewStub(
+ CreateChannel(workers[i + num_servers], InsecureCredentials()));
ClientArgs args;
result_client_config = client_config;
result_client_config.set_host(workers[i + num_servers]);
diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc
index 516598a..76575e4 100644
--- a/test/cpp/qps/server_async.cc
+++ b/test/cpp/qps/server_async.cc
@@ -52,7 +52,6 @@
#include "test/cpp/qps/qpstest.grpc.pb.h"
#include "test/cpp/qps/server.h"
-
namespace grpc {
namespace testing {
@@ -98,8 +97,7 @@
}
}
~AsyncQpsServerTest() {
- auto deadline = std::chrono::system_clock::now() +
- std::chrono::seconds(10);
+ auto deadline = std::chrono::system_clock::now() + std::chrono::seconds(10);
server_->Shutdown(deadline);
for (auto ss = shutdown_state_.begin(); ss != shutdown_state_.end(); ++ss) {
(*ss)->set_shutdown();
diff --git a/test/cpp/qps/server_sync.cc b/test/cpp/qps/server_sync.cc
index d930ba2..dfaa760 100644
--- a/test/cpp/qps/server_sync.cc
+++ b/test/cpp/qps/server_sync.cc
@@ -47,7 +47,6 @@
#include "test/cpp/qps/server.h"
#include "test/cpp/qps/timer.h"
-
namespace grpc {
namespace testing {
@@ -86,8 +85,7 @@
class SynchronousServer GRPC_FINAL : public grpc::testing::Server {
public:
SynchronousServer(const ServerConfig& config, int port)
- : impl_(MakeImpl(port)) {
- }
+ : impl_(MakeImpl(port)) {}
private:
std::unique_ptr<grpc::Server> MakeImpl(int port) {