2023-07-24 19:19:21 -07:00
|
|
|
# Format Style Options - Created with Clang Power Tools
|
|
|
|
---
|
|
|
|
AccessModifierOffset: -4
|
|
|
|
|
|
|
|
AlignAfterOpenBracket: BlockIndent
|
2023-07-29 09:25:38 -07:00
|
|
|
AlignArrayOfStructures: Left
|
2023-07-24 19:19:21 -07:00
|
|
|
AlignConsecutiveAssignments:
|
|
|
|
Enabled: true
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: true
|
|
|
|
AlignCompound: true
|
|
|
|
PadOperators: true
|
|
|
|
AlignConsecutiveBitFields: AcrossComments
|
|
|
|
AlignConsecutiveDeclarations: AcrossComments
|
2023-07-26 11:21:20 -07:00
|
|
|
AlignConsecutiveMacros:
|
|
|
|
Enabled: true
|
|
|
|
AcrossEmptyLines: true
|
2023-07-26 23:51:36 -07:00
|
|
|
AcrossComments: true
|
2023-07-26 11:21:20 -07:00
|
|
|
AlignEscapedNewlines: Left
|
2023-07-24 19:19:21 -07:00
|
|
|
AlignOperands: DontAlign
|
|
|
|
|
|
|
|
AlignTrailingComments: true
|
|
|
|
|
|
|
|
AllowAllArgumentsOnNextLine: false
|
|
|
|
AllowAllConstructorInitializersOnNextLine: false
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
|
AllowShortBlocksOnASingleLine: Never
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortLambdasOnASingleLine: None
|
|
|
|
AllowShortEnumsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
|
|
|
|
|
|
BinPackArguments: false
|
|
|
|
BinPackParameters: false
|
|
|
|
|
|
|
|
BitFieldColonSpacing: Both
|
|
|
|
|
2023-07-26 11:21:20 -07:00
|
|
|
BraceWrapping:
|
2023-07-24 19:19:21 -07:00
|
|
|
AfterCaseLabel: false
|
|
|
|
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: false
|
|
|
|
SplitEmptyRecord: false
|
|
|
|
SplitEmptyNamespace: false
|
|
|
|
BeforeLambdaBody: false
|
|
|
|
BeforeWhile: false
|
|
|
|
|
2023-07-29 09:25:38 -07:00
|
|
|
BreakAfterAttributes: Always
|
2023-07-24 19:19:21 -07:00
|
|
|
# BreakArrays: false
|
|
|
|
# BreakBeforeInlineASMColon: OnlyMultiline
|
|
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
|
|
BreakBeforeBraces: Allman
|
|
|
|
BreakBeforeInheritanceComma: true
|
|
|
|
BreakInheritanceList: BeforeComma
|
|
|
|
BreakBeforeConceptDeclarations: true
|
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializers: BeforeComma
|
|
|
|
BreakStringLiterals: true
|
|
|
|
|
|
|
|
ColumnLimit: 180
|
|
|
|
|
|
|
|
CompactNamespaces: true
|
|
|
|
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
|
|
ConstructorInitializerIndentWidth : 4
|
|
|
|
|
2023-07-26 23:51:36 -07:00
|
|
|
ContinuationIndentWidth: 0
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
Cpp11BracedListStyle: false
|
|
|
|
|
|
|
|
DeriveLineEnding: true
|
|
|
|
|
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
|
|
|
|
FixNamespaceComments: true
|
|
|
|
|
|
|
|
IncludeBlocks: Preserve
|
|
|
|
|
|
|
|
|
2023-07-26 11:21:20 -07:00
|
|
|
IndentCaseBlocks: false
|
|
|
|
IndentCaseLabels: false
|
2023-07-24 19:19:21 -07:00
|
|
|
IndentExternBlock: AfterExternBlock
|
2023-07-29 09:25:38 -07:00
|
|
|
IndentGotoLabels: true
|
2023-07-24 19:19:21 -07:00
|
|
|
IndentPPDirectives: AfterHash
|
|
|
|
IndentRequires: true
|
|
|
|
IndentWidth: 4
|
|
|
|
IndentWrappedFunctionNames: false
|
|
|
|
|
|
|
|
# InsertNewlineAtEOF: true
|
|
|
|
InsertTrailingCommas: Wrapped
|
|
|
|
|
|
|
|
LambdaBodyIndentation: OuterScope
|
|
|
|
|
|
|
|
Language: Cpp
|
|
|
|
|
|
|
|
MaxEmptyLinesToKeep: 4
|
|
|
|
|
|
|
|
NamespaceIndentation: All
|
|
|
|
|
|
|
|
PointerAlignment: Left
|
|
|
|
|
|
|
|
QualifierAlignment: Leave
|
|
|
|
|
|
|
|
ReferenceAlignment: Left
|
|
|
|
|
|
|
|
ReflowComments: true
|
|
|
|
|
|
|
|
# RequiresExpressionIndentation: OuterScope
|
|
|
|
|
|
|
|
SeparateDefinitionBlocks: Always
|
|
|
|
|
|
|
|
ShortNamespaceLines: 40
|
|
|
|
|
2023-07-29 09:25:38 -07:00
|
|
|
SortIncludes: false
|
2023-07-24 19:19:21 -07:00
|
|
|
SortUsingDeclarations: true
|
|
|
|
|
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceAfterLogicalNot: true
|
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
|
|
|
|
SpaceAroundPointerQualifiers: Default
|
|
|
|
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeCaseColon: true
|
|
|
|
SpaceBeforeCpp11BracedList: true
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
|
SpaceBeforeParens: ControlStatementsExceptControlMacros
|
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
|
SpacesBeforeTrailingComments: 4
|
|
|
|
|
|
|
|
SpaceInEmptyBlock: true
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesInAngles: true
|
|
|
|
SpacesInCStyleCastParentheses: true
|
|
|
|
SpacesInConditionalStatement: true
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInLineCommentPrefix:
|
|
|
|
Minimum: 1
|
|
|
|
Maximum: 20
|
|
|
|
SpacesInParentheses: true
|
|
|
|
SpacesInSquareBrackets: true
|
|
|
|
|
|
|
|
Standard: c++17
|
|
|
|
|
|
|
|
TabWidth: 4
|
|
|
|
|
|
|
|
UseTab: ForIndentation
|
|
|
|
...
|