From 8f49ae45bb2049c15846569961575447e100f054 Mon Sep 17 00:00:00 2001 From: Quinn Date: Wed, 21 Jan 2026 17:21:04 +0100 Subject: [PATCH] Modify clang format to allow short functions to be put on a singular line. --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index be931b2..7d53280 100644 --- a/.clang-format +++ b/.clang-format @@ -37,7 +37,7 @@ AlignConsecutiveShortCaseStatements: # short constructs on a single line # --------------------------- AllowShortBlocksOnASingleLine: Always -AllowShortFunctionsOnASingleLine: None +AllowShortFunctionsOnASingleLine: All AllowShortLambdasOnASingleLine: All AllowShortIfStatementsOnASingleLine: Never AllowShortCaseLabelsOnASingleLine: true