| 1 |
--- |
| 2 |
AlignConsecutiveMacros: Consecutive |
| 3 |
AlignConsecutiveAssignments: None |
| 4 |
AlignConsecutiveBitFields: None |
| 5 |
AlignConsecutiveDeclarations: None |
| 6 |
AlignEscapedNewlines: Right |
| 7 |
AlignOperands: Align |
| 8 |
AlignTrailingComments: true |
| 9 |
|
| 10 |
AllowAllArgumentsOnNextLine: true |
| 11 |
AllowAllParametersOfDeclarationOnNextLine: true |
| 12 |
AllowShortEnumsOnASingleLine: true |
| 13 |
AllowShortBlocksOnASingleLine: Never |
| 14 |
AllowShortCaseLabelsOnASingleLine: false |
| 15 |
AllowShortFunctionsOnASingleLine: All |
| 16 |
AllowShortIfStatementsOnASingleLine: Never |
| 17 |
AllowShortLoopsOnASingleLine: false |
| 18 |
|
| 19 |
AlwaysBreakAfterDefinitionReturnType: None |
| 20 |
AlwaysBreakAfterReturnType: None |
| 21 |
AlwaysBreakBeforeMultilineStrings: false |
| 22 |
AlwaysBreakTemplateDeclarations: MultiLine |
| 23 |
|
| 24 |
# Custom brace breaking |
| 25 |
BreakBeforeBraces: Custom |
| 26 |
BraceWrapping: |
| 27 |
AfterCaseLabel: true |
| 28 |
AfterClass: true |
| 29 |
AfterControlStatement: Never |
| 30 |
AfterEnum: true |
| 31 |
AfterFunction: true |
| 32 |
AfterNamespace: true |
| 33 |
AfterObjCDeclaration: true |
| 34 |
AfterStruct: true |
| 35 |
AfterUnion: true |
| 36 |
AfterExternBlock: false |
| 37 |
BeforeElse: false |
| 38 |
BeforeWhile: false |
| 39 |
IndentBraces: false |
| 40 |
SplitEmptyFunction: true |
| 41 |
SplitEmptyRecord: true |
| 42 |
|
| 43 |
# Make the closing brace of container literals go to a new line |
| 44 |
Cpp11BracedListStyle: false |
| 45 |
|
| 46 |
# Never format includes |
| 47 |
IncludeBlocks: Preserve |
| 48 |
# clang-format version 4.0 through 12.0: |
| 49 |
#SortIncludes: false |
| 50 |
# clang-format version 13.0+: |
| 51 |
#SortIncludes: Never |
| 52 |
|
| 53 |
# No length limit, in case it breaks macros, you can |
| 54 |
# disable it with /* clang-format off/on */ comments |
| 55 |
ColumnLimit: 0 |
| 56 |
|
| 57 |
IndentWidth: 4 |
| 58 |
ContinuationIndentWidth: 4 |
| 59 |
IndentCaseLabels: false |
| 60 |
IndentCaseBlocks: false |
| 61 |
IndentGotoLabels: true |
| 62 |
IndentPPDirectives: None |
| 63 |
IndentExternBlock: NoIndent |
| 64 |
|
| 65 |
PointerAlignment: Right |
| 66 |
SpaceAfterCStyleCast: false |
| 67 |
SpacesInCStyleCastParentheses: false |
| 68 |
SpacesInConditionalStatement: false |
| 69 |
SpacesInContainerLiterals: true |
| 70 |
SpaceBeforeAssignmentOperators: true |
| 71 |
SpaceBeforeCaseColon: false |
| 72 |
SpaceBeforeParens: ControlStatements |
| 73 |
SpaceAroundPointerQualifiers: Default |
| 74 |
SpaceInEmptyBlock: false |
| 75 |
SpaceInEmptyParentheses: false |
| 76 |
|
| 77 |
UseCRLF: false |
| 78 |
UseTab: Never |
| 79 |
|
| 80 |
--- |
| 81 |
|