2018-03-30 03:10:12 +08:00
|
|
|
Language: Cpp
|
|
|
|
# BasedOnStyle: Mozilla
|
|
|
|
AccessModifierOffset: -4
|
|
|
|
AlignAfterOpenBracket: Align
|
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlinesLeft: false
|
|
|
|
AlignOperands: true
|
|
|
|
AlignTrailingComments: false
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: Inline
|
2021-03-11 02:06:03 +08:00
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
2018-03-30 03:10:12 +08:00
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: true
|
2021-03-11 02:06:03 +08:00
|
|
|
BinPackArguments: false
|
|
|
|
BinPackParameters: false
|
2018-03-30 03:10:12 +08:00
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Attach
|
|
|
|
ColumnLimit: 120
|
|
|
|
CommentPragmas: '^ IWYU pragma:|^ clang-format: ignore$|^TraceEvent'
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
ConstructorInitializerIndentWidth: 2
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
Cpp11BracedListStyle: false
|
|
|
|
DerivePointerAlignment: false
|
|
|
|
DisableFormat: false
|
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
|
|
|
IndentCaseLabels: false
|
|
|
|
IndentWidth: 4
|
|
|
|
IndentWrappedFunctionNames: false
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
|
NamespaceIndentation: None
|
|
|
|
ObjCBlockIndentWidth: 2
|
|
|
|
ObjCSpaceAfterProperty: true
|
|
|
|
ObjCSpaceBeforeProtocolList: false
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 200
|
|
|
|
PointerAlignment: Left
|
|
|
|
ReflowComments: true
|
|
|
|
SortIncludes: false
|
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
SpacesInAngles: false
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
|
|
|
Standard: Cpp11
|
|
|
|
TabWidth: 4
|
|
|
|
UseTab: ForIndentation
|