aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/src/.clang-format
blob: 301680ed96791e5ba4bc51f76342b17642181a21 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                   
                                   
                                       
---
# 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