refactor/Test/.clang-format

164 lines
3.6 KiB
Plaintext
Raw Permalink Normal View History

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