Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:49:58 +08:00
commit 5007abf04b
89 changed files with 44129 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
---
Language: Cpp
BasedOnStyle: Microsoft
IndentWidth: 4
ColumnLimit: 120
# Braces
BreakBeforeBraces: Allman
BraceWrapping:
AfterFunction: true
AfterControlStatement: Always
AfterClass: true
AfterStruct: true
AfterEnum: true
BeforeElse: true
BeforeCatch: true
# Pointer alignment
PointerAlignment: Left
ReferenceAlignment: Left
# Indentation
IndentCaseLabels: false
IndentAccessModifiers: false
AccessModifierOffset: -4
# Line breaking
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
BreakBeforeBinaryOperators: None
# Spacing
SpaceBeforeParens: ControlStatements
SpacesBeforeTrailingComments: 1
# Includes
SortIncludes: CaseSensitive
IncludeBlocks: Preserve
# Comments
ReflowComments: true
FixNamespaceComments: true
# Alignment
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignTrailingComments: true
# Empty lines
MaxEmptyLinesToKeep: 1
...