From c4e40c2eb24856fc04f86afe7b23fa90e1424c57 Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Tue, 17 Feb 2026 17:11:52 +0800 Subject: [PATCH] [Chore] (format): Update .clang-format --- .clang-format | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.clang-format b/.clang-format index 1c0cdc87..c07d66a4 100644 --- a/.clang-format +++ b/.clang-format @@ -9,16 +9,19 @@ BraceWrapping: AfterClass: false AfterControlStatement: Never AfterEnum: false - AfterNamespace: false - AfterStruct: false - AfterUnion: false - BeforeElse: false + AfterNamespace: false + AfterStruct: false + AfterUnion: false + BeforeElse: false SplitEmptyFunction: false SplitEmptyRecord: false -AllowShortBlocksOnASingleLine: Empty +AllowShortBlocksOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: WithoutElse AlwaysBreakTemplateDeclarations: Yes NamespaceIndentation: All AllowShortFunctionsOnASingleLine: Inline SortIncludes: false +FixNamespaceComments: true +ShortNamespaceLines: 0 +CompactNamespaces: false