2018-12-31 20:04:05 +01:00
|
|
|
---
|
|
|
|
Language: Cpp
|
|
|
|
# BasedOnStyle: Google
|
|
|
|
AccessModifierOffset: -1
|
|
|
|
AlignAfterOpenBracket: Align
|
2021-12-09 23:31:04 +01:00
|
|
|
AlignArrayOfStructures: None
|
|
|
|
AlignConsecutiveMacros: None
|
|
|
|
AlignConsecutiveAssignments: None
|
|
|
|
AlignConsecutiveBitFields: None
|
|
|
|
AlignConsecutiveDeclarations: None
|
2018-12-31 20:04:05 +01:00
|
|
|
AlignEscapedNewlines: Left
|
2021-12-09 23:31:04 +01:00
|
|
|
AlignOperands: Align
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2021-12-09 23:31:04 +01:00
|
|
|
AllowShortEnumsOnASingleLine: true
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2021-12-09 23:31:04 +01:00
|
|
|
BitFieldColonSpacing: Both
|
2018-12-31 20:04:05 +01:00
|
|
|
BraceWrapping:
|
2019-09-28 04:14:21 +02:00
|
|
|
AfterCaseLabel: false
|
2018-12-31 20:04:05 +01:00
|
|
|
AfterClass: false
|
2021-12-09 23:31:04 +01:00
|
|
|
AfterControlStatement: Never
|
2018-12-31 20:04:05 +01:00
|
|
|
AfterEnum: false
|
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
AfterExternBlock: false
|
|
|
|
BeforeCatch: false
|
|
|
|
BeforeElse: false
|
2021-12-09 23:31:04 +01:00
|
|
|
BeforeLambdaBody: false
|
|
|
|
BeforeWhile: false
|
2018-12-31 20:04:05 +01:00
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Attach
|
2021-12-09 23:31:04 +01:00
|
|
|
BreakBeforeConceptDeclarations: true
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2021-12-09 23:31:04 +01:00
|
|
|
EmptyLineAfterAccessModifier: Never
|
|
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
2018-12-31 20:04:05 +01:00
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
FixNamespaceComments: true
|
2018-10-14 03:01:02 +02:00
|
|
|
ForEachMacros:
|
|
|
|
- Q_FOREACH_THIS_LIST_MUST_BE_NON_EMPTY
|
|
|
|
IncludeBlocks: Preserve
|
2021-12-09 23:31:04 +01:00
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 0
|
|
|
|
IndentAccessModifiers: false
|
|
|
|
IndentCaseBlocks: false
|
2018-12-31 20:04:05 +01:00
|
|
|
IndentCaseLabels: true
|
2021-12-09 23:31:04 +01:00
|
|
|
IndentExternBlock: AfterExternBlock
|
2019-09-28 04:14:21 +02:00
|
|
|
IndentGotoLabels: true
|
2018-12-31 20:04:05 +01:00
|
|
|
IndentPPDirectives: None
|
2021-12-09 23:31:04 +01:00
|
|
|
IndentRequires: false
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2021-12-09 23:31:04 +01:00
|
|
|
LambdaBodyIndentation: Signature
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2021-12-09 23:31:04 +01:00
|
|
|
PenaltyIndentedWhitespace: 0
|
2018-12-31 20:04:05 +01:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 200
|
2020-12-18 15:21:25 +01:00
|
|
|
PointerAlignment: Right
|
2021-12-09 23:31:04 +01:00
|
|
|
PPIndentWidth: -1
|
|
|
|
ReferenceAlignment: Pointer
|
2018-12-31 20:04:05 +01:00
|
|
|
ReflowComments: false # true
|
2021-12-09 23:31:04 +01:00
|
|
|
ShortNamespaceLines: 0 # 1
|
|
|
|
SortIncludes: CaseInsensitive # CaseSensitive
|
|
|
|
# SortJavaStaticImport: Before
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2021-12-09 23:31:04 +01:00
|
|
|
SpaceAroundPointerQualifiers: Default
|
2018-12-31 20:04:05 +01:00
|
|
|
SpaceBeforeAssignmentOperators: true
|
2021-12-09 23:31:04 +01:00
|
|
|
SpaceBeforeCaseColon: false
|
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
|
2021-12-09 23:31:04 +01:00
|
|
|
SpacesInAngles: Never
|
2020-06-26 01:51:29 +02:00
|
|
|
SpacesInConditionalStatement: false
|
2018-12-31 20:04:05 +01:00
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
2021-12-09 23:31:04 +01:00
|
|
|
SpacesInLineCommentPrefix:
|
|
|
|
Minimum: 1
|
|
|
|
Maximum: 1 # -1
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
|
|
|
...
|