From fbfb728b8f637bd23c6dc1e32155faf0849ad552 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 7 Aug 2024 16:07:05 +0200 Subject: [PATCH] Allow body-less loops on a single line --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 017c104..64fdf2c 100644 --- a/.clang-format +++ b/.clang-format @@ -44,7 +44,7 @@ AlignTrailingComments: AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true AllowBreakBeforeNoexceptSpecifier: Never -AllowShortBlocksOnASingleLine: Never +AllowShortBlocksOnASingleLine: Empty AllowShortCaseLabelsOnASingleLine: false AllowShortCompoundRequirementOnASingleLine: true AllowShortEnumsOnASingleLine: true