From 6fdead00122b86a153c2860974a53489e6aed1c4 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 26 Jan 2026 14:45:42 +0100 Subject: [PATCH] fix: not allowing short ifs on a single line --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index 549833a..6922c64 100644 --- a/.clang-format +++ b/.clang-format @@ -23,6 +23,7 @@ AlignConsecutiveShortCaseStatements: AlignEscapedNewlines: Left AlignOperands: DontAlign AllowShortBlocksOnASingleLine: Always +AllowShortIfStatementsOnASingleLine: WithoutElse AllowShortCaseLabelsOnASingleLine: true AllowShortCompoundRequirementOnASingleLine: true AllowShortLoopsOnASingleLine: true