aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEsun Kim <veblush@google.com>2022-11-18 11:35:23 -0800
committerGitHub <noreply@github.com>2022-11-18 11:35:23 -0800
commitc6a1d0692fff82ced8cad32696c0a9f86733adc1 (patch)
tree033bbfaa7c147e5c4172f871a0131259cc7f2657 /.clang-tidy
parenta02cc7d88ae45abf7ccb742c7c61345f7ef6d0d2 (diff)
downloadgrpc-grpc-c6a1d0692fff82ced8cad32696c0a9f86733adc1.tar.gz
Added readability-braces-around-statements (#31562)
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy3
1 files changed, 2 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 10ef8bfd93..7d30bdca82 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -112,6 +112,7 @@ Checks: '-*,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
+ readability-braces-around-statements,
readability-const-return-type,
readability-container-size-empty,
readability-delete-null-pointer,
@@ -137,7 +138,7 @@ CheckOptions:
value: 'absl::make_unique'
- key: modernize-make-unique.MakeSmartPtrFunctionHeader
value: 'absl/memory/memory.h'
- - key: google-readability-braces-around-statements.ShortStatementLines
+ - key: readability-braces-around-statements.ShortStatementLines
value: 1
- key: readability-simplify-boolean-expr.SimplifyDeMorgan
value: false