From f45d2a29fc3f9d26bb5171aa80872117c2430b0a Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 16 Aug 2025 14:47:10 +0200 Subject: [PATCH] Clang-format update --- .clang-format | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index a4fbf68..1edc97c 100644 --- a/.clang-format +++ b/.clang-format @@ -2,8 +2,9 @@ BasedOnStyle: LLVM IndentWidth: 4 # Use 4 spaces for indentation TabWidth: 4 # Tab width is also 4 spaces UseTab: Never # Always use spaces instead of tabs -ColumnLimit: 80 # Wrap lines after 80 characters +ColumnLimit: 120 # Wrap lines after 80 characters AllowShortLoopsOnASingleLine: true +AllowShortFunctionsOnASingleLine: false AlwaysBreakTemplateDeclarations: true BreakConstructorInitializers: BeforeComma AlignConsecutiveDeclarations: @@ -14,3 +15,4 @@ AlignConsecutiveDeclarations: AlignFunctionPointers: false PadOperators: false AlignConsecutiveMacros: true +AllowShortCaseLabelsOnASingleLine: true