aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.clang-format
blob: 87ad91d243ed4f953b6314b788a9194120c17b57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
# The "Linux kernel" style, borrowed and modified from
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#examples
BasedOnStyle: LLVM
IndentWidth: 8
UseTab: AlignWithSpaces
BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false

ColumnLimit: 100
AlignConsecutiveMacros: Consecutive
AllowShortFunctionsOnASingleLine: Empty
BreakStringLiterals: false