Sanity: clang-format and regen projects

pull/5193/head
Vijay Pai 9 years ago
parent 8ae883fc8f
commit c41abec7f8
  1. 11
      src/cpp/common/alarm.cc
  2. 4
      tools/run_tests/sources_and_headers.json

@ -39,21 +39,22 @@
namespace grpc {
class AlarmEntry : public CompletionQueueTag {
public:
AlarmEntry(void *tag): tag_(tag) {}
public:
AlarmEntry(void* tag) : tag_(tag) {}
bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
*tag = tag_;
delete this;
return true;
}
private:
private:
void* tag_;
};
static internal::GrpcLibraryInitializer g_gli_initializer;
Alarm::Alarm(CompletionQueue* cq, gpr_timespec deadline, void* tag)
: alarm_(grpc_alarm_create(cq->cq(), deadline,
static_cast<void*>(new AlarmEntry(tag)))) {
: alarm_(grpc_alarm_create(cq->cq(), deadline,
static_cast<void*>(new AlarmEntry(tag)))) {
g_gli_initializer.summon();
}

@ -1313,8 +1313,6 @@
},
{
"deps": [
"gpr",
"gpr_test_util",
"grpc",
"grpc++",
"grpc++_test_util",
@ -1329,6 +1327,8 @@
},
{
"deps": [
"gpr",
"gpr_test_util",
"grpc",
"grpc++",
"grpc++_test_util",

Loading…
Cancel
Save