From c6a1d0692fff82ced8cad32696c0a9f86733adc1 Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Fri, 18 Nov 2022 11:35:23 -0800 Subject: [PATCH] Added readability-braces-around-statements (#31562) --- .clang-tidy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 10ef8bfd930..7d30bdca828 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