From 406fde33ebde4c97ac9bc4a584f4a98d60f29f03 Mon Sep 17 00:00:00 2001 From: piegames Date: Fri, 2 Jan 2026 13:03:31 +0100 Subject: [PATCH] clang-format: Don't compact ifs and loops onto a single line Change-Id: I422c7ee2b9865f9354f327cd2f151a7ff6c612b1 --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 41dd8991e..f1cdeae61 100644 --- a/.clang-format +++ b/.clang-format @@ -5,9 +5,9 @@ AlignAfterOpenBracket: BlockIndent AlignEscapedNewlines: Left AlignOperands: DontAlign AlignTrailingComments: false -AllowShortBlocksOnASingleLine: Always +AllowShortBlocksOnASingleLine: Empty AllowShortFunctionsOnASingleLine: Empty -AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortIfStatementsOnASingleLine: Never AlwaysBreakBeforeMultilineStrings: true AlwaysBreakTemplateDeclarations: Yes BinPackArguments: false