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
|
2023-02-08 13:28:36 +01:00
|
|
|
AlignConsecutiveAssignments:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: true
|
|
|
|
AlignConsecutiveBitFields:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: false
|
|
|
|
AlignConsecutiveDeclarations:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: false
|
|
|
|
AlignConsecutiveMacros:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: false
|
2018-12-31 20:04:05 +01:00
|
|
|
AlignEscapedNewlines: Left
|
2021-12-09 23:31:04 +01:00
|
|
|
AlignOperands: Align
|
2023-02-08 13:28:36 +01:00
|
|
|
AlignTrailingComments:
|
|
|
|
Kind: Always
|
|
|
|
OverEmptyLines: 0
|
2019-09-28 04:14:21 +02:00
|
|
|
AllowAllArgumentsOnNextLine: 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
|
2023-02-08 13:28:36 +01:00
|
|
|
# AttributeMacros:
|
|
|
|
# - __capability
|
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
|
2023-02-08 13:28:36 +01:00
|
|
|
AfterExternBlock: false
|
2018-12-31 20:04:05 +01:00
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: 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
|
2023-02-08 13:28:36 +01:00
|
|
|
BreakAfterAttributes: Never
|
|
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
|
|
BreakArrays: true
|
2018-12-31 20:04:05 +01:00
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Attach
|
2023-02-08 13:28:36 +01:00
|
|
|
BreakBeforeConceptDeclarations: Always
|
|
|
|
BreakBeforeInlineASMColon: OnlyMultiline
|
2018-12-31 20:04:05 +01:00
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializers: BeforeComma # BeforeColon
|
2023-02-08 13:28:36 +01:00
|
|
|
BreakInheritanceList: BeforeComma # BeforeColon
|
2018-12-31 20:04:05 +01:00
|
|
|
BreakStringLiterals: true
|
|
|
|
ColumnLimit: 120 # 80
|
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
Cpp11BracedListStyle: true
|
|
|
|
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
|
2023-02-08 13:28:36 +01:00
|
|
|
IndentRequiresClause: true
|
2018-12-31 20:04:05 +01:00
|
|
|
IndentWidth: 2
|
|
|
|
IndentWrappedFunctionNames: false
|
2023-02-08 13:28:36 +01:00
|
|
|
InsertBraces: false
|
|
|
|
InsertNewlineAtEOF: false
|
2020-06-26 01:51:29 +02:00
|
|
|
# InsertTrailingCommas: None
|
2023-02-08 13:28:36 +01:00
|
|
|
IntegerLiteralSeparator:
|
|
|
|
Binary: 0
|
|
|
|
Decimal: 0
|
|
|
|
Hex: 0
|
2018-12-31 20:04:05 +01:00
|
|
|
# JavaScriptQuotes: Leave
|
|
|
|
# JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
2021-12-09 23:31:04 +01:00
|
|
|
LambdaBodyIndentation: Signature
|
2023-02-08 13:28:36 +01:00
|
|
|
LineEnding: DeriveLF
|
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
|
2023-02-08 13:28:36 +01:00
|
|
|
PackConstructorInitializers: NextLine
|
2018-12-31 20:04:05 +01:00
|
|
|
PenaltyBreakAssignment: 2
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
2023-02-08 13:28:36 +01:00
|
|
|
PenaltyBreakOpenParenthesis: 0
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2023-02-08 13:28:36 +01:00
|
|
|
PointerAlignment: Right # Left
|
2021-12-09 23:31:04 +01:00
|
|
|
PPIndentWidth: -1
|
2023-02-08 13:28:36 +01:00
|
|
|
QualifierAlignment: Leave
|
2021-12-09 23:31:04 +01:00
|
|
|
ReferenceAlignment: Pointer
|
2018-12-31 20:04:05 +01:00
|
|
|
ReflowComments: false # true
|
2023-02-08 13:28:36 +01:00
|
|
|
RemoveBracesLLVM: false
|
|
|
|
RemoveSemicolon: false
|
|
|
|
RequiresClausePosition: OwnLine
|
|
|
|
RequiresExpressionIndentation: OuterScope
|
|
|
|
SeparateDefinitionBlocks: Leave
|
2021-12-09 23:31:04 +01:00
|
|
|
ShortNamespaceLines: 0 # 1
|
|
|
|
SortIncludes: CaseInsensitive # CaseSensitive
|
|
|
|
# SortJavaStaticImport: Before
|
2023-02-08 13:28:36 +01:00
|
|
|
SortUsingDeclarations: Lexicographic # LexicographicNumeric
|
2018-12-31 20:04:05 +01:00
|
|
|
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
|
2023-02-08 13:28:36 +01:00
|
|
|
SpaceBeforeParensOptions:
|
|
|
|
AfterControlStatements: true
|
|
|
|
AfterForeachMacros: true
|
|
|
|
AfterFunctionDefinitionName: false
|
|
|
|
AfterFunctionDeclarationName: false
|
|
|
|
AfterIfMacros: true
|
|
|
|
AfterOverloadedOperator: false
|
|
|
|
AfterRequiresInClause: false
|
|
|
|
AfterRequiresInExpression: false
|
|
|
|
BeforeNonEmptyParentheses: false
|
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
|
|
|
|
UseTab: Never
|
|
|
|
...
|