2020-11-03 16:34:10 +00:00
|
|
|
---
|
|
|
|
Language: Cpp
|
|
|
|
# BasedOnStyle: Google
|
|
|
|
AccessModifierOffset: -1
|
|
|
|
AlignAfterOpenBracket: Align
|
2021-12-12 21:35:46 +00:00
|
|
|
AlignArrayOfStructures: None
|
2023-02-13 12:44:46 +00: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
|
2020-11-03 16:34:10 +00:00
|
|
|
AlignEscapedNewlines: Left
|
2021-12-12 21:35:46 +00:00
|
|
|
AlignOperands: Align
|
2023-02-13 12:44:46 +00:00
|
|
|
AlignTrailingComments:
|
|
|
|
Kind: Always
|
|
|
|
OverEmptyLines: 0
|
2020-11-03 16:34:10 +00:00
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
AllowShortBlocksOnASingleLine: Never
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
2021-12-12 21:35:46 +00:00
|
|
|
AllowShortEnumsOnASingleLine: true
|
2020-11-03 16:34:10 +00:00
|
|
|
AllowShortFunctionsOnASingleLine: None # All
|
|
|
|
AllowShortIfStatementsOnASingleLine: Never # WithoutElse
|
|
|
|
AllowShortLambdasOnASingleLine: Inline # All
|
|
|
|
AllowShortLoopsOnASingleLine: false # true
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
2023-02-13 12:44:46 +00:00
|
|
|
# AttributeMacros:
|
|
|
|
# - __capability
|
2020-11-03 16:34:10 +00:00
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
2021-12-12 21:35:46 +00:00
|
|
|
BitFieldColonSpacing: Both
|
2020-11-03 16:34:10 +00:00
|
|
|
BraceWrapping:
|
|
|
|
AfterCaseLabel: false
|
|
|
|
AfterClass: false
|
2021-12-12 21:35:46 +00:00
|
|
|
AfterControlStatement: Never
|
2020-11-03 16:34:10 +00:00
|
|
|
AfterEnum: false
|
2023-02-13 12:44:46 +00:00
|
|
|
AfterExternBlock: false
|
2020-11-03 16:34:10 +00:00
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
BeforeCatch: false
|
|
|
|
BeforeElse: false
|
2021-12-12 21:35:46 +00:00
|
|
|
BeforeLambdaBody: false
|
|
|
|
BeforeWhile: false
|
2020-11-03 16:34:10 +00:00
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
2023-02-13 12:44:46 +00:00
|
|
|
BreakAfterAttributes: Never
|
|
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
|
|
BreakArrays: true
|
2020-11-03 16:34:10 +00:00
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Attach
|
2023-02-13 12:44:46 +00:00
|
|
|
BreakBeforeConceptDeclarations: Always
|
|
|
|
BreakBeforeInlineASMColon: OnlyMultiline
|
2020-11-03 16:34:10 +00:00
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializers: BeforeComma # BeforeColon
|
2023-02-13 12:44:46 +00:00
|
|
|
BreakInheritanceList: BeforeComma # BeforeColon
|
2020-11-03 16:34:10 +00:00
|
|
|
BreakStringLiterals: true
|
|
|
|
ColumnLimit: 120 # 80
|
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
Cpp11BracedListStyle: true
|
|
|
|
DerivePointerAlignment: true
|
|
|
|
DisableFormat: false
|
2021-12-12 21:35:46 +00:00
|
|
|
EmptyLineAfterAccessModifier: Never
|
|
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
2020-11-03 16:34:10 +00:00
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
FixNamespaceComments: true
|
|
|
|
ForEachMacros:
|
|
|
|
- Q_FOREACH_THIS_LIST_MUST_BE_NON_EMPTY
|
|
|
|
IncludeBlocks: Preserve
|
2021-12-12 21:35:46 +00:00
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 0
|
|
|
|
IndentAccessModifiers: false
|
|
|
|
IndentCaseBlocks: false
|
2020-11-03 16:34:10 +00:00
|
|
|
IndentCaseLabels: true
|
2021-12-12 21:35:46 +00:00
|
|
|
IndentExternBlock: AfterExternBlock
|
2020-11-03 16:34:10 +00:00
|
|
|
IndentGotoLabels: true
|
|
|
|
IndentPPDirectives: None
|
2023-02-13 12:44:46 +00:00
|
|
|
IndentRequiresClause: true
|
2020-11-03 16:34:10 +00:00
|
|
|
IndentWidth: 2
|
|
|
|
IndentWrappedFunctionNames: false
|
2023-02-13 12:44:46 +00:00
|
|
|
InsertBraces: false
|
|
|
|
InsertNewlineAtEOF: false
|
2020-11-03 16:34:10 +00:00
|
|
|
# InsertTrailingCommas: None
|
2023-02-13 12:44:46 +00:00
|
|
|
IntegerLiteralSeparator:
|
|
|
|
Binary: 0
|
|
|
|
Decimal: 0
|
|
|
|
Hex: 0
|
2020-11-03 16:34:10 +00:00
|
|
|
# JavaScriptQuotes: Leave
|
|
|
|
# JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
2021-12-12 21:35:46 +00:00
|
|
|
LambdaBodyIndentation: Signature
|
2023-02-13 12:44:46 +00:00
|
|
|
LineEnding: DeriveLF
|
2020-11-03 16:34:10 +00:00
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
|
NamespaceIndentation: None
|
|
|
|
# ObjCBinPackProtocolList: Never
|
|
|
|
# ObjCBlockIndentWidth: 2
|
|
|
|
# ObjCBreakBeforeNestedBlockParam: true
|
|
|
|
# ObjCSpaceAfterProperty: false
|
|
|
|
# ObjCSpaceBeforeProtocolList: true
|
2023-02-13 12:44:46 +00:00
|
|
|
PackConstructorInitializers: NextLine
|
2020-11-03 16:34:10 +00:00
|
|
|
PenaltyBreakAssignment: 2
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
2023-02-13 12:44:46 +00:00
|
|
|
PenaltyBreakOpenParenthesis: 0
|
2020-11-03 16:34:10 +00:00
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
|
|
PenaltyExcessCharacter: 1000000
|
2021-12-12 21:35:46 +00:00
|
|
|
PenaltyIndentedWhitespace: 0
|
2020-11-03 16:34:10 +00:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 200
|
2023-02-13 12:44:46 +00:00
|
|
|
PointerAlignment: Right # Left
|
2021-12-12 21:35:46 +00:00
|
|
|
PPIndentWidth: -1
|
2023-02-13 12:44:46 +00:00
|
|
|
QualifierAlignment: Leave
|
2021-12-12 21:35:46 +00:00
|
|
|
ReferenceAlignment: Pointer
|
2020-11-03 16:34:10 +00:00
|
|
|
ReflowComments: false # true
|
2023-02-13 12:44:46 +00:00
|
|
|
RemoveBracesLLVM: false
|
|
|
|
RemoveSemicolon: false
|
|
|
|
RequiresClausePosition: OwnLine
|
|
|
|
RequiresExpressionIndentation: OuterScope
|
|
|
|
SeparateDefinitionBlocks: Leave
|
2021-12-12 21:35:46 +00:00
|
|
|
ShortNamespaceLines: 0 # 1
|
|
|
|
SortIncludes: CaseInsensitive # CaseSensitive
|
|
|
|
# SortJavaStaticImport: Before
|
2023-02-13 12:44:46 +00:00
|
|
|
SortUsingDeclarations: Lexicographic # LexicographicNumeric
|
2020-11-03 16:34:10 +00:00
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceAfterLogicalNot: false
|
|
|
|
SpaceAfterTemplateKeyword: true
|
2021-12-12 21:35:46 +00:00
|
|
|
SpaceAroundPointerQualifiers: Default
|
2020-11-03 16:34:10 +00:00
|
|
|
SpaceBeforeAssignmentOperators: true
|
2021-12-12 21:35:46 +00:00
|
|
|
SpaceBeforeCaseColon: false
|
2020-11-03 16:34:10 +00:00
|
|
|
SpaceBeforeCpp11BracedList: false
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
2023-02-13 12:44:46 +00:00
|
|
|
SpaceBeforeParensOptions:
|
|
|
|
AfterControlStatements: true
|
|
|
|
AfterForeachMacros: true
|
|
|
|
AfterFunctionDefinitionName: false
|
|
|
|
AfterFunctionDeclarationName: false
|
|
|
|
AfterIfMacros: true
|
|
|
|
AfterOverloadedOperator: false
|
|
|
|
AfterRequiresInClause: false
|
|
|
|
AfterRequiresInExpression: false
|
|
|
|
BeforeNonEmptyParentheses: false
|
2020-11-03 16:34:10 +00:00
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
|
SpaceInEmptyBlock: false
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 2
|
2021-12-12 21:35:46 +00:00
|
|
|
SpacesInAngles: Never
|
2020-11-03 16:34:10 +00:00
|
|
|
SpacesInConditionalStatement: false
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
2021-12-12 21:35:46 +00:00
|
|
|
SpacesInLineCommentPrefix:
|
|
|
|
Minimum: 1
|
|
|
|
Maximum: 1 # -1
|
2020-11-03 16:34:10 +00:00
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
|
|
|
Standard: Auto
|
|
|
|
TabWidth: 100 # 8
|
|
|
|
UseTab: Never
|
|
|
|
...
|