2022-09-30 10:28:21 +02:00
|
|
|
# Reformat all source files from the root directory with:
|
|
|
|
# clang-format -i $(find . -name '*.[ch]')
|
|
|
|
---
|
2022-09-29 15:34:44 +02:00
|
|
|
Language: Cpp
|
|
|
|
BasedOnStyle: LLVM
|
|
|
|
|
|
|
|
AlignAfterOpenBracket: DontAlign
|
|
|
|
AlignConsecutiveAssignments: None
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: true
|
|
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BreakConstructorInitializers: AfterColon
|
|
|
|
BraceWrapping:
|
|
|
|
AfterControlStatement: false
|
|
|
|
AfterFunction: true
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
BeforeElse: false
|
|
|
|
ColumnLimit: 0
|
2022-09-30 10:25:09 +02:00
|
|
|
ContinuationIndentWidth: 16
|
2023-04-20 10:38:56 +02:00
|
|
|
Cpp11BracedListStyle: false
|
2022-09-29 15:34:44 +02:00
|
|
|
IncludeBlocks: Preserve
|
|
|
|
IndentCaseLabels: true
|
|
|
|
IndentWidth: 8
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
MaxEmptyLinesToKeep: 2
|
|
|
|
SortIncludes: true
|
|
|
|
SpaceAfterCStyleCast: true
|
|
|
|
SpacesBeforeTrailingComments: 0
|
|
|
|
TabWidth: 8
|
|
|
|
UseTab: Always
|
|
|
|
...
|