From e5e95780e424df8be6db448e5279adc820cb47ca Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 4 Jul 2024 14:29:00 -0700 Subject: [PATCH] User clang-format InsertBraces instead of clang-tidy --- .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: ".*"