| 1 |
# Configuration for clang-format automated reformatting. -*- yaml -*- |
| 2 |
# |
| 3 |
# This configuration requires Clang 13.0 or later. |
| 4 |
|
| 5 |
--- |
| 6 |
Language: Cpp |
| 7 |
BasedOnStyle: LLVM |
| 8 |
AlignArrayOfStructures: Left |
| 9 |
AlignConsecutiveMacros: AcrossEmptyLinesAndComments |
| 10 |
AlignEscapedNewlines: Left |
| 11 |
AllowShortEnumsOnASingleLine: false |
| 12 |
AlwaysBreakAfterReturnType: AllDefinitions |
| 13 |
BreakBeforeBinaryOperators: NonAssignment |
| 14 |
BreakBeforeBraces: WebKit |
| 15 |
ColumnLimit: 79 |
| 16 |
IncludeCategories: |
| 17 |
- Regex: '^"(config.h|portable/system.h)"' |
| 18 |
Priority: 0 |
| 19 |
IndentPPDirectives: AfterHash |
| 20 |
IndentWidth: 4 |
| 21 |
IndentWrappedFunctionNames: false |
| 22 |
MaxEmptyLinesToKeep: 2 |
| 23 |
SpaceAfterCStyleCast: true |
| 24 |
--- |