From 0dbee5806b28a598409be4649e4a9207200bacbf Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Tue, 20 Oct 2026 19:48:22 +0800 Subject: [Dev] Configure build presets and code checks --- .clang-format | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index fc4f3fc..dc5d893 100644 --- a/.clang-format +++ b/.clang-format @@ -1,20 +1,12 @@ BasedOnStyle: LLVM -Language: Cpp -Standard: Latest -ColumnLimit: 100 -IndentWidth: 2 -ContinuationIndentWidth: 4 -UseTab: Never -BreakBeforeBraces: Attach -PointerAlignment: Right -ReferenceAlignment: Pointer -DerivePointerAlignment: false -NamespaceIndentation: None -FixNamespaceComments: true -SortIncludes: CaseSensitive -IncludeBlocks: Regroup -AllowShortFunctionsOnASingleLine: Empty +LineEnding: LF +BreakAfterReturnType: All +SpaceBeforeParens: Always +BreakBeforeBraces: Allman +AllowShortFunctionsOnASingleLine: None +AllowShortBlocksOnASingleLine: Never AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false -AllowShortCaseLabelsOnASingleLine: false -LineEnding: LF +AllowShortLambdasOnASingleLine: None +AllowShortEnumsOnASingleLine: false +InsertBraces: true -- cgit v1.2.3