2025-11-11 15:48:30 +08:00
|
|
|
---
|
|
|
|
|
Language: Cpp
|
2025-11-15 15:21:02 +08:00
|
|
|
BasedOnStyle: Microsoft
|
2025-11-11 15:48:30 +08:00
|
|
|
AccessModifierOffset: -4
|
|
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
|
AlignOperands: true
|
|
|
|
|
AlignTrailingComments: false
|
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
|
|
|
BraceWrapping:
|
2025-11-15 15:16:47 +08:00
|
|
|
AfterCaseLabel: true
|
|
|
|
|
AfterClass: true
|
|
|
|
|
AfterControlStatement: true
|
|
|
|
|
AfterEnum: true
|
|
|
|
|
AfterFunction: true
|
|
|
|
|
AfterNamespace: true
|
|
|
|
|
AfterStruct: true
|
|
|
|
|
AfterUnion: true
|
|
|
|
|
AfterExternBlock: true
|
2025-11-15 15:55:05 +08:00
|
|
|
BeforeCatch: true
|
|
|
|
|
BeforeElse: true
|
2025-11-15 15:16:47 +08:00
|
|
|
BeforeLambdaBody: true
|
2025-11-15 15:55:05 +08:00
|
|
|
BeforeWhile: true
|
2025-11-15 15:16:47 +08:00
|
|
|
IndentBraces: false
|
2025-11-11 15:48:30 +08:00
|
|
|
SplitEmptyFunction: true
|
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
|
BreakConstructorInitializers: AfterColon
|
|
|
|
|
BreakConstructorInitializersBeforeComma: false
|
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
|
ContinuationIndentWidth: 8
|
|
|
|
|
IncludeCategories:
|
|
|
|
|
- Regex: '^<.*'
|
|
|
|
|
Priority: 1
|
|
|
|
|
- Regex: '^".*'
|
|
|
|
|
Priority: 2
|
|
|
|
|
- Regex: '.*'
|
|
|
|
|
Priority: 3
|
|
|
|
|
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
|
|
|
|
IndentCaseLabels: true
|
|
|
|
|
InsertNewlineAtEOF: true
|
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
|
MaxEmptyLinesToKeep: 2
|
|
|
|
|
NamespaceIndentation: All
|
|
|
|
|
SpaceAfterCStyleCast: true
|
|
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
|
SpaceBeforeRangeBasedForLoopColon: false
|
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
|
SpacesInAngles: false
|
|
|
|
|
SpacesInConditionalStatement: false
|
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
|
SpacesInParentheses: false
|
|
|
|
|
...
|