2018-05-06 06:06:09 +00:00
|
|
|
BasedOnStyle: WebKit
|
|
|
|
Language: Cpp
|
2018-11-09 11:32:55 +00:00
|
|
|
AlignAfterOpenBracket: AlwaysBreak
|
2017-03-31 15:21:48 +00:00
|
|
|
BreakBeforeBraces: Custom
|
2018-05-06 06:06:09 +00:00
|
|
|
BraceWrapping:
|
|
|
|
AfterClass: true
|
|
|
|
AfterControlStatement: true
|
|
|
|
AfterEnum: true
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
2022-02-11 15:51:45 +00:00
|
|
|
BeforeLambdaBody: true
|
2018-05-06 06:06:09 +00:00
|
|
|
IndentBraces: false
|
2017-02-01 19:28:22 +00:00
|
|
|
BreakConstructorInitializersBeforeComma: false
|
2017-02-13 13:59:34 +00:00
|
|
|
Cpp11BracedListStyle: true
|
2018-05-06 06:06:09 +00:00
|
|
|
ColumnLimit: 140
|
2017-02-01 19:28:22 +00:00
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
|
|
ExperimentalAutoDetectBinPacking: true
|
2017-04-01 07:17:50 +00:00
|
|
|
UseTab: Never
|
|
|
|
TabWidth: 4
|
2017-02-01 19:28:22 +00:00
|
|
|
Standard: Cpp11
|
|
|
|
PointerAlignment: Middle
|
|
|
|
MaxEmptyLinesToKeep: 2
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
2018-11-09 11:32:55 +00:00
|
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
2017-02-01 19:28:22 +00:00
|
|
|
AlwaysBreakTemplateDeclarations: true
|
2017-02-13 13:59:34 +00:00
|
|
|
IndentCaseLabels: true
|
2018-05-06 06:06:09 +00:00
|
|
|
SpaceAfterTemplateKeyword: true
|
2018-11-29 12:44:57 +00:00
|
|
|
SpaceBeforeCpp11BracedList: false
|
2017-02-01 19:28:22 +00:00
|
|
|
SortIncludes: true
|
2018-11-29 12:44:57 +00:00
|
|
|
IndentPPDirectives: AfterHash
|
2017-02-01 19:28:22 +00:00
|
|
|
IncludeCategories:
|
2018-05-06 06:06:09 +00:00
|
|
|
- Regex: '^<[a-z_]+>'
|
|
|
|
Priority: 1
|
|
|
|
- Regex: '^<[a-z_]+.h>'
|
|
|
|
Priority: 2
|
|
|
|
- Regex: '^["<](common|ext|mysqlxx|daemon|zkutil)/'
|
|
|
|
Priority: 90
|
|
|
|
- Regex: '^["<](DB)/'
|
|
|
|
Priority: 100
|
|
|
|
- Regex: '^["<](Poco)/'
|
|
|
|
Priority: 50
|
|
|
|
- Regex: '^"'
|
|
|
|
Priority: 110
|
|
|
|
- Regex: '/'
|
|
|
|
Priority: 30
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 40
|
2017-02-01 19:28:22 +00:00
|
|
|
ReflowComments: false
|
2018-12-10 15:50:58 +00:00
|
|
|
AlignEscapedNewlinesLeft: false
|
|
|
|
AlignEscapedNewlines: DontAlign
|
2020-03-03 00:24:44 +00:00
|
|
|
AlignTrailingComments: false
|
2023-09-25 14:37:08 +00:00
|
|
|
InsertBraces: WrapLikely
|
2017-02-01 19:28:22 +00:00
|
|
|
|
|
|
|
# Not changed:
|
|
|
|
AccessModifierOffset: -4
|
|
|
|
AlignConsecutiveAssignments: false
|
2018-05-06 06:06:09 +00:00
|
|
|
AlignOperands: false
|
2017-02-01 19:28:22 +00:00
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
BinPackArguments: false
|
|
|
|
BinPackParameters: false
|
|
|
|
BreakBeforeBinaryOperators: All
|
|
|
|
BreakBeforeTernaryOperators: true
|
2018-05-06 06:06:09 +00:00
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
2017-02-01 19:28:22 +00:00
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
DerivePointerAlignment: false
|
2018-05-06 06:06:09 +00:00
|
|
|
DisableFormat: false
|
2023-06-05 13:55:52 +00:00
|
|
|
IndentRequiresClause: false
|
2018-05-06 06:06:09 +00:00
|
|
|
IndentWidth: 4
|
2017-02-01 19:28:22 +00:00
|
|
|
IndentWrappedFunctionNames: false
|
|
|
|
MacroBlockBegin: ''
|
2018-05-06 06:06:09 +00:00
|
|
|
MacroBlockEnd: ''
|
2023-09-12 18:27:02 +00:00
|
|
|
NamespaceIndentation: None
|
2017-02-01 19:28:22 +00:00
|
|
|
ObjCBlockIndentWidth: 4
|
|
|
|
ObjCSpaceAfterProperty: true
|
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
2023-09-12 18:27:02 +00:00
|
|
|
RemoveBracesLLVM: true
|
2017-02-01 19:28:22 +00:00
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|