clang-format code

pull/6610/head^2
Craig Tiller 9 years ago
parent cfd4102357
commit 4b8550db49
  1. 2
      src/core/ext/transport/chttp2/transport/internal.h
  2. 4
      src/core/ext/transport/chttp2/transport/parsing.c
  3. 5
      src/core/lib/support/avl.c
  4. 2
      test/core/statistics/census_log_tests.c

@ -691,7 +691,7 @@ extern int grpc_flowctl_trace;
if (!(grpc_http_trace)) \
; \
else \
stmt
stmt
typedef enum {
GRPC_CHTTP2_FLOWCTL_MOVE,

@ -87,8 +87,8 @@ void grpc_chttp2_prepare_to_read(
transport_global->settings[GRPC_SENT_SETTINGS],
sizeof(transport_parsing->last_sent_settings));
transport_parsing->max_frame_size =
transport_global
->settings[GRPC_ACKED_SETTINGS][GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE];
transport_global->settings[GRPC_ACKED_SETTINGS]
[GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE];
/* update the parsing view of incoming window */
while (grpc_chttp2_list_pop_unannounced_incoming_window_available(

@ -73,9 +73,8 @@ static long node_height(gpr_avl_node *node) {
#ifndef NDEBUG
static long calculate_height(gpr_avl_node *node) {
return node == NULL ? 0
: 1 + GPR_MAX(calculate_height(node->left),
calculate_height(node->right));
return node == NULL ? 0 : 1 + GPR_MAX(calculate_height(node->left),
calculate_height(node->right));
}
static gpr_avl_node *assert_invariants(gpr_avl_node *n) {

@ -31,6 +31,7 @@
*
*/
#include "src/core/ext/census/census_log.h"
#include <grpc/support/cpu.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
@ -41,7 +42,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "src/core/ext/census/census_log.h"
#include "test/core/util/test_config.h"
/* Fills in 'record' of size 'size'. Each byte in record is filled in with the

Loading…
Cancel
Save