# SPDX-License-Identifier: GPL-3.0-or-later
#
# Linux kernel style with 4-space indentation, as used by OpenRTX.
---
BasedOnStyle: LLVM
IndentWidth: 4
ContinuationIndentWidth: 4
UseTab: Never
ColumnLimit: 80
BreakBeforeBraces: Linux
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
IndentCaseLabels: false
PointerAlignment: Right
SpaceAfterCStyleCast: false
SortIncludes: Never
IncludeBlocks: Preserve
AlignAfterOpenBracket: Align
AlignEscapedNewlines: Left
AlignConsecutiveMacros: None
AlignTrailingComments: true
BinPackParameters: true
BinPackArguments: true
Cpp11BracedListStyle: false
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
...
