mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-04-19 02:24:03 +03:00
This option makes padding between macro names and the values based on the longest macro name in a consecutive list of macro lines. Signed-off-by: Norbert Pocs <norbertpocs0@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
30 lines
811 B
YAML
30 lines
811 B
YAML
---
|
|
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
UseTab: Never
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterEnum: false
|
|
AfterFunction: true
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
AfterExternBlock: false
|
|
BeforeElse: false
|
|
BeforeWhile: false
|
|
IndentCaseLabels: false
|
|
IndentCaseBlocks: false
|
|
ColumnLimit: 80
|
|
AlignAfterOpenBracket: Align
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
AllowAllArgumentsOnNextLine: false
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
BreakAfterReturnType: ExceptShortType
|
|
AlwaysBreakAfterReturnType: AllDefinitions
|
|
AlignEscapedNewlines: Left
|
|
ForEachMacros: ['ssh_callbacks_iterate']
|
|
AlignConsecutiveMacros: 'Consecutive'
|