From 20838039c4154bcae39c8f42825358e4e24dfc9b Mon Sep 17 00:00:00 2001 From: LizardByte-bot <108553330+LizardByte-bot@users.noreply.github.com> Date: Sun, 19 Jan 2025 23:26:29 -0500 Subject: [PATCH] chore: update global workflows (#30) --- .clang-format | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index c6ab9f9..d6da5d9 100644 --- a/.clang-format +++ b/.clang-format @@ -16,7 +16,7 @@ AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: Empty AllowShortCaseLabelsOnASingleLine: false AllowShortEnumsOnASingleLine: false -AllowShortFunctionsOnASingleLine: None +AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: Never AllowShortLambdasOnASingleLine: None AllowShortLoopsOnASingleLine: true @@ -81,6 +81,7 @@ PenaltyBreakComment: 1 PenaltyBreakString: 1 PenaltyBreakFirstLessLess: 0 PenaltyExcessCharacter: 1000000 +PenaltyReturnTypeOnItsOwnLine: 100000000 PointerAlignment: Right ReferenceAlignment: Pointer ReflowComments: true