2022-05-05 10:27:47 +03:00
|
|
|
---
|
|
|
|
AlignConsecutiveMacros: Consecutive
|
|
|
|
AlignConsecutiveAssignments: None
|
|
|
|
AlignConsecutiveBitFields: None
|
|
|
|
AlignConsecutiveDeclarations: None
|
|
|
|
AlignEscapedNewlines: Right
|
|
|
|
AlignOperands: Align
|
|
|
|
AlignTrailingComments: true
|
|
|
|
|
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
AllowShortEnumsOnASingleLine: true
|
|
|
|
AllowShortBlocksOnASingleLine: Never
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: All
|
2022-05-28 01:29:21 +03:00
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
2022-05-05 10:27:47 +03:00
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
|
2022-11-30 23:51:59 +03:00
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
2022-05-05 10:27:47 +03:00
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: MultiLine
|
|
|
|
|
|
|
|
# Custom brace breaking
|
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BraceWrapping:
|
|
|
|
AfterCaseLabel: true
|
|
|
|
AfterClass: true
|
|
|
|
AfterControlStatement: Never
|
|
|
|
AfterEnum: true
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
|
|
|
AfterObjCDeclaration: true
|
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
|
|
|
AfterExternBlock: false
|
|
|
|
BeforeElse: false
|
2022-11-30 23:51:59 +03:00
|
|
|
BeforeWhile: false
|
2022-05-05 10:27:47 +03:00
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
|
|
|
|
# Make the closing brace of container literals go to a new line
|
|
|
|
Cpp11BracedListStyle: false
|
|
|
|
|
|
|
|
# Never format includes
|
|
|
|
IncludeBlocks: Preserve
|
2022-05-28 01:29:21 +03:00
|
|
|
# clang-format version 4.0 through 12.0:
|
|
|
|
#SortIncludes: false
|
|
|
|
# clang-format version 13.0+:
|
2022-12-02 11:43:01 +03:00
|
|
|
#SortIncludes: Never
|
2022-05-05 10:27:47 +03:00
|
|
|
|
|
|
|
# No length limit, in case it breaks macros, you can
|
|
|
|
# disable it with /* clang-format off/on */ comments
|
|
|
|
ColumnLimit: 0
|
|
|
|
|
|
|
|
IndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
IndentCaseLabels: false
|
|
|
|
IndentCaseBlocks: false
|
|
|
|
IndentGotoLabels: true
|
|
|
|
IndentPPDirectives: None
|
|
|
|
IndentExternBlock: NoIndent
|
|
|
|
|
2022-11-30 23:51:59 +03:00
|
|
|
PointerAlignment: Right
|
|
|
|
SpaceAfterCStyleCast: false
|
2022-05-05 10:27:47 +03:00
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInConditionalStatement: false
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeCaseColon: false
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceAroundPointerQualifiers: Default
|
|
|
|
SpaceInEmptyBlock: false
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
|
|
|
|
UseCRLF: false
|
|
|
|
UseTab: Never
|
2022-05-06 19:08:44 +03:00
|
|
|
|
|
|
|
ForEachMacros:
|
|
|
|
[
|
|
|
|
"spa_list_for_each",
|
|
|
|
"spa_list_for_each_safe",
|
|
|
|
"wl_list_for_each",
|
2024-03-14 17:09:47 +03:00
|
|
|
"wl_list_for_each_safe",
|
2022-05-06 19:08:44 +03:00
|
|
|
"wl_array_for_each",
|
|
|
|
"udev_list_entry_foreach",
|
|
|
|
]
|
|
|
|
|
2022-05-05 10:27:47 +03:00
|
|
|
---
|
|
|
|
|