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