[Chore] (format): Update .clang-format

This commit is contained in:
BZLZHH
2026-02-17 17:11:52 +08:00
parent 8bd6c9719f
commit c4e40c2eb2
+8 -5
View File
@@ -9,16 +9,19 @@ BraceWrapping:
AfterClass: false AfterClass: false
AfterControlStatement: Never AfterControlStatement: Never
AfterEnum: false AfterEnum: false
AfterNamespace: false AfterNamespace: false
AfterStruct: false AfterStruct: false
AfterUnion: false AfterUnion: false
BeforeElse: false BeforeElse: false
SplitEmptyFunction: false SplitEmptyFunction: false
SplitEmptyRecord: false SplitEmptyRecord: false
AllowShortBlocksOnASingleLine: Empty AllowShortBlocksOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: WithoutElse AllowShortIfStatementsOnASingleLine: WithoutElse
AlwaysBreakTemplateDeclarations: Yes AlwaysBreakTemplateDeclarations: Yes
NamespaceIndentation: All NamespaceIndentation: All
AllowShortFunctionsOnASingleLine: Inline AllowShortFunctionsOnASingleLine: Inline
SortIncludes: false SortIncludes: false
FixNamespaceComments: true
ShortNamespaceLines: 0
CompactNamespaces: false