2018-12-31 20:04:05 +01:00
|
|
|
---
|
|
|
|
Language: Cpp
|
|
|
|
# BasedOnStyle: Google
|
|
|
|
AccessModifierOffset: -1
|
|
|
|
AlignAfterOpenBracket: Align
|
2019-09-28 04:14:21 +02:00
|
|
|
AlignConsecutiveMacros: false
|
2018-12-31 20:04:05 +01:00
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlines: Left
|
|
|
|
AlignOperands: true
|
|
|
|
AlignTrailingComments: true
|
2019-09-28 04:14:21 +02:00
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
|
AllowAllConstructorInitializersOnNextLine: true
|
2018-12-31 20:04:05 +01:00
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
2019-09-28 04:14:21 +02:00
|
|
|
AllowShortBlocksOnASingleLine: Never
|
2018-12-31 20:04:05 +01:00
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: None # All
|
2019-09-28 04:14:21 +02:00
|
|
|
AllowShortIfStatementsOnASingleLine: Never # WithoutElse
|
|
|
|
AllowShortLambdasOnASingleLine: Inline # All
|
2018-12-31 20:04:05 +01:00
|
|
|
AllowShortLoopsOnASingleLine: false # true
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: true
|
2018-10-14 03:01:02 +02:00
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
2018-12-31 20:04:05 +01:00
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
|
|
|
BraceWrapping:
|
2019-09-28 04:14:21 +02:00
|
|
|
AfterCaseLabel: false
|
2018-12-31 20:04:05 +01:00
|
|
|
AfterClass: false
|
|
|
|
AfterControlStatement: false
|
|
|
|
AfterEnum: false
|
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
AfterExternBlock: false
|
|
|
|
BeforeCatch: false
|
|
|
|
BeforeElse: false
|
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Attach
|
|
|
|
BreakBeforeInheritanceComma: true # false
|
2018-10-14 03:01:02 +02:00
|
|
|
BreakInheritanceList: BeforeComma # BeforeColon
|
2018-12-31 20:04:05 +01:00
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializersBeforeComma: true # false
|
|
|
|
BreakConstructorInitializers: BeforeComma # BeforeColon
|
|
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
|
|
BreakStringLiterals: true
|
|
|
|
ColumnLimit: 120 # 80
|
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
Cpp11BracedListStyle: true
|
2020-06-26 01:51:29 +02:00
|
|
|
DeriveLineEnding: true
|
2018-12-31 20:04:05 +01:00
|
|
|
DerivePointerAlignment: true
|
|
|
|
DisableFormat: false
|
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
FixNamespaceComments: true
|
2018-10-14 03:01:02 +02:00
|
|
|
ForEachMacros:
|
|
|
|
- Q_FOREACH_THIS_LIST_MUST_BE_NON_EMPTY
|
|
|
|
IncludeBlocks: Preserve
|
2020-07-13 14:23:03 +02:00
|
|
|
#IndentCaseBlocks: false
|
2018-12-31 20:04:05 +01:00
|
|
|
IndentCaseLabels: true
|
2019-09-28 04:14:21 +02:00
|
|
|
IndentGotoLabels: true
|
2018-12-31 20:04:05 +01:00
|
|
|
IndentPPDirectives: None
|
|
|
|
IndentWidth: 2
|
|
|
|
IndentWrappedFunctionNames: false
|
2020-06-26 01:51:29 +02:00
|
|
|
# InsertTrailingCommas: None
|
2018-12-31 20:04:05 +01:00
|
|
|
# JavaScriptQuotes: Leave
|
|
|
|
# JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
|
NamespaceIndentation: None
|
2018-10-14 03:01:02 +02:00
|
|
|
# ObjCBinPackProtocolList: Never
|
2018-12-31 20:04:05 +01:00
|
|
|
# ObjCBlockIndentWidth: 2
|
2020-06-26 01:51:29 +02:00
|
|
|
# ObjCBreakBeforeNestedBlockParam: true
|
2018-12-31 20:04:05 +01:00
|
|
|
# ObjCSpaceAfterProperty: false
|
2018-10-14 03:01:02 +02:00
|
|
|
# ObjCSpaceBeforeProtocolList: true
|
2018-12-31 20:04:05 +01:00
|
|
|
PenaltyBreakAssignment: 2
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
2018-10-14 03:01:02 +02:00
|
|
|
PenaltyBreakTemplateDeclaration: 10
|
2018-12-31 20:04:05 +01:00
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 200
|
2020-12-18 15:21:25 +01:00
|
|
|
PointerAlignment: Right
|
2018-12-31 20:04:05 +01:00
|
|
|
ReflowComments: false # true
|
|
|
|
SortIncludes: false # disabled, because we need case insensitive sort
|
|
|
|
SortUsingDeclarations: false # true
|
|
|
|
SpaceAfterCStyleCast: false
|
2019-09-28 04:14:21 +02:00
|
|
|
SpaceAfterLogicalNot: false
|
2018-12-31 20:04:05 +01:00
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
2018-10-14 03:01:02 +02:00
|
|
|
SpaceBeforeCpp11BracedList: false
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
2018-12-31 20:04:05 +01:00
|
|
|
SpaceBeforeParens: ControlStatements
|
2018-10-14 03:01:02 +02:00
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
2020-06-26 01:51:29 +02:00
|
|
|
SpaceBeforeSquareBrackets: false
|
2019-09-28 04:14:21 +02:00
|
|
|
SpaceInEmptyBlock: false
|
2018-12-31 20:04:05 +01:00
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 2
|
|
|
|
SpacesInAngles: false
|
2020-06-26 01:51:29 +02:00
|
|
|
SpacesInConditionalStatement: false
|
2018-12-31 20:04:05 +01:00
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
|
|
|
Standard: Auto
|
|
|
|
TabWidth: 100 # 8
|
2020-06-26 01:51:29 +02:00
|
|
|
UseCRLF: false
|
2018-12-31 20:04:05 +01:00
|
|
|
UseTab: Never
|
|
|
|
...
|