mirror of
https://github.com/aria2/aria2.git
synced 2024-12-29 14:14:53 +00:00
0a63a7ecc3
Use clang-format-3.6 for now.
66 lines
1.9 KiB
YAML
66 lines
1.9 KiB
YAML
---
|
|
Language: Cpp
|
|
# BasedOnStyle: LLVM
|
|
AccessModifierOffset: -2
|
|
AlignAfterOpenBracket: true
|
|
AlignEscapedNewlinesLeft: false
|
|
AlignOperands: true
|
|
AlignTrailingComments: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: All
|
|
AlwaysBreakAfterDefinitionReturnType: false
|
|
AlwaysBreakTemplateDeclarations: false
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: false
|
|
BinPackParameters: true
|
|
BinPackArguments: true
|
|
ColumnLimit: 80
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 4
|
|
DerivePointerAlignment: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
IndentCaseLabels: false
|
|
IndentWrappedFunctionNames: false
|
|
IndentFunctionDeclarationAfterType: false
|
|
MaxEmptyLinesToKeep: 1
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
NamespaceIndentation: None
|
|
ObjCBlockIndentWidth: 2
|
|
ObjCSpaceAfterProperty: false
|
|
ObjCSpaceBeforeProtocolList: true
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
PenaltyBreakComment: 300
|
|
PenaltyBreakString: 1000
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
PointerAlignment: Left
|
|
SpacesBeforeTrailingComments: 1
|
|
Cpp11BracedListStyle: true
|
|
Standard: Cpp11
|
|
IndentWidth: 2
|
|
TabWidth: 8
|
|
UseTab: Never
|
|
BreakBeforeBraces: Stroustrup
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
SpacesInAngles: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpaceAfterCStyleCast: false
|
|
SpacesInContainerLiterals: true
|
|
SpaceBeforeAssignmentOperators: true
|
|
ContinuationIndentWidth: 4
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
|
SpaceBeforeParens: ControlStatements
|
|
DisableFormat: false
|
|
...
|
|
|