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

This commit is contained in:
BZLZHH
2025-08-15 18:27:35 +08:00
parent a21dcae309
commit e50d4bb19c
+24
View File
@@ -0,0 +1,24 @@
BasedOnStyle: Microsoft
IndentWidth: 4
UseTab: Never
AccessModifierOffset: -4
PointerAlignment: Left
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterNamespace: false
AfterStruct: false
AfterUnion: false
BeforeElse: false
SplitEmptyFunction: false
SplitEmptyRecord: false
AllowShortBlocksOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: WithoutElse
AlwaysBreakTemplateDeclarations: Yes
NamespaceIndentation: All
AllowShortFunctionsOnASingleLine: Inline
SortIncludes: false