Created
October 8, 2025 14:11
-
-
Save david4958606/5357af05e0898ef87c9dc97ac69fb76d to your computer and use it in GitHub Desktop.
clang-format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| Language: Cpp | |
| BasedOnStyle: Microsoft | |
| AccessModifierOffset: -4 | |
| AlignConsecutiveAssignments: true | |
| AlignConsecutiveDeclarations: true | |
| AlignOperands: true | |
| AlignTrailingComments: true | |
| AlwaysBreakAfterDefinitionReturnType: false | |
| AlwaysBreakTemplateDeclarations: Yes | |
| BraceWrapping: | |
| AfterCaseLabel: true | |
| AfterClass: true | |
| AfterControlStatement: true | |
| AfterEnum: true | |
| AfterFunction: true | |
| AfterNamespace: true | |
| AfterStruct: true | |
| AfterUnion: true | |
| AfterExternBlock: false | |
| BeforeCatch: true | |
| BeforeElse: true | |
| BeforeLambdaBody: true | |
| BeforeWhile: false | |
| IndentBraces: false | |
| SplitEmptyFunction: true | |
| SplitEmptyRecord: true | |
| SplitEmptyNamespace: true | |
| BreakConstructorInitializers: AfterColon | |
| BreakConstructorInitializersBeforeComma: false | |
| ConstructorInitializerAllOnOneLineOrOnePerLine: true | |
| 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 | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment