| 1 |
--- |
| 2 |
## Kernel Style Formatting (http://clang.llvm.org/docs/ClangFormatStyleOptions.html) |
| 3 |
AllowAllParametersOfDeclarationOnNextLine: false |
| 4 |
AllowShortCaseLabelsOnASingleLine: false |
| 5 |
AllowShortFunctionsOnASingleLine: None |
| 6 |
AllowShortIfStatementsOnASingleLine: true |
| 7 |
BasedOnStyle: LLVM |
| 8 |
BreakBeforeBraces: Linux |
| 9 |
ColumnLimit: 80 |
| 10 |
DerivePointerAlignment: false |
| 11 |
IndentWidth: 8 |
| 12 |
PointerAlignment: Right |
| 13 |
ReflowComments: true |
| 14 |
SortIncludes: false |
| 15 |
UseTab: Always |
| 16 |
ContinuationIndentWidth: 8 |
| 17 |
AlignConsecutiveMacros: true |
| 18 |
# Typical macros are expressions and require a semi-colon to be added; |
| 19 |
# sometimes this is not the case, and this allows to make clang-format aware of |
| 20 |
# such cases. |
| 21 |
StatementMacros: |
| 22 |
- OPT |