From 0873b782c5b38869d433ff8e53c35854a802b6af Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 4 Jul 2024 14:35:49 -0700 Subject: [PATCH] User clang-format InsertBraces instead of clang-tidy (#1059) --- .clang-format | 1 + .clang-tidy | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 5d97094c..e950a8f9 100644 --- a/.clang-format +++ b/.clang-format @@ -20,6 +20,7 @@ EmptyLineBeforeAccessModifier: Always IncludeBlocks: Regroup IndentAccessModifiers: false IndentWidth: 4 +InsertBraces: true InsertNewlineAtEOF: true PointerAlignment: Left QualifierAlignment: Custom diff --git a/.clang-tidy b/.clang-tidy index 189ddf5a..37ee0b97 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,6 +1,5 @@ Checks: > -*, - readability-braces-around-statements, modernize-use-override -WarningsAsErrors: '-*,readability-braces-around-statements,modernize-use-override' +WarningsAsErrors: '-*,modernize-use-override' HeaderFilterRegex: ".*"