From b893bde9d0ccfd8b080b41101d4da0b5a569795e Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Sun, 27 Apr 2025 11:33:24 -0400 Subject: [PATCH] Adjust clang format braces settings --- .clang-format | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.clang-format b/.clang-format index 1d0d5c42..6affbc06 100644 --- a/.clang-format +++ b/.clang-format @@ -4,11 +4,11 @@ BasedOnStyle: LLVM AccessModifierOffset: -4 AlignEscapedNewlines: Left -AllowShortFunctionsOnASingleLine: All -AllowShortBlocksOnASingleLine: Always -AllowShortIfStatementsOnASingleLine: Always -AllowShortLoopsOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: Inline +AllowShortBlocksOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: Never +AllowShortLoopsOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false AlwaysBreakBeforeMultilineStrings: true AlwaysBreakTemplateDeclarations: true BreakBeforeBraces: Allman