2022-04-20 09:48:26 +00:00
|
|
|
---
|
|
|
|
AccessModifierOffset: -4
|
2022-06-26 06:13:21 +00:00
|
|
|
AlignAfterOpenBracket: DontAlign
|
2022-04-20 09:48:26 +00:00
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
2022-06-26 06:13:21 +00:00
|
|
|
AlignConsecutiveMacros: true
|
|
|
|
AlignEscapedNewlines: Left
|
|
|
|
AllowAllArgumentsOnNextLine: true
|
2022-04-20 09:48:26 +00:00
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
2022-06-26 06:13:21 +00:00
|
|
|
AllowShortEnumsOnASingleLine: false
|
2022-04-20 09:48:26 +00:00
|
|
|
# This is currently broken:
|
|
|
|
# https://github.com/llvm/llvm-project/issues/53442
|
|
|
|
#AlignArrayOfStructures: Left
|
|
|
|
BraceWrapping:
|
|
|
|
AfterClass: false
|
|
|
|
AfterControlStatement: false
|
|
|
|
AfterEnum: false
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
BeforeCatch: false
|
|
|
|
BeforeElse: false
|
|
|
|
IndentBraces: false
|
|
|
|
BreakBeforeBraces: Linux
|
|
|
|
BasedOnStyle: LLVM
|
2022-06-26 06:13:21 +00:00
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
2022-04-20 09:48:26 +00:00
|
|
|
ColumnLimit: 120
|
2022-06-26 06:13:21 +00:00
|
|
|
Cpp11BracedListStyle: true
|
2022-04-20 09:48:26 +00:00
|
|
|
IndentCaseLabels: false
|
2022-06-26 06:13:21 +00:00
|
|
|
IndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
2022-04-20 09:48:26 +00:00
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
2022-06-26 06:13:21 +00:00
|
|
|
FixNamespaceComments: true
|
|
|
|
ForEachMacros: ['TRY_CATCH']
|
|
|
|
#QualifierAlignment: Custom
|
|
|
|
#QualifierOrder: ['inline', 'static', 'const', 'volatile', 'type']
|
|
|
|
SpaceAroundPointerQualifiers: After
|
2022-04-20 09:48:26 +00:00
|
|
|
|
|
|
|
# Taken from git's rules
|
|
|
|
#PenaltyBreakAssignment: 10 # Unknown to clang-format-4.0
|
2022-06-26 06:13:21 +00:00
|
|
|
PenaltyBreakBeforeFirstCallParameter: 50
|
2022-04-20 09:48:26 +00:00
|
|
|
PenaltyBreakComment: 10
|
|
|
|
PenaltyBreakFirstLessLess: 0
|
|
|
|
PenaltyBreakString: 10
|
|
|
|
PenaltyExcessCharacter: 100
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
|
|
|
|
|
PointerAlignment: Right
|
|
|
|
ReflowComments: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
SortIncludes: false
|
2022-06-26 06:13:21 +00:00
|
|
|
TabWidth: 4
|
|
|
|
UseTab: AlignWithSpaces
|