s3:brlock: use NUMERIC_CMP in #ifdef-zeroed lock_compare
[Samba.git] / .clang-format
blobc4c12b9955b388a0cb71404498792bf502ff3456
1 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2 AlignAfterOpenBracket: Align
3 AlignEscapedNewlines: Left
4 AllowAllArgumentsOnNextLine: true
5 AllowAllParametersOfDeclarationOnNextLine: false
6 AllowShortFunctionsOnASingleLine: Empty
7 AllowShortIfStatementsOnASingleLine: false
8 AlwaysBreakAfterReturnType: None
9 BasedOnStyle: LLVM
10 BinPackArguments: false
11 BinPackParameters: false
12 BraceWrapping:
13     AfterEnum: false
14     AfterFunction: true
15     AfterStruct: false
16     AfterUnion: false
17     AfterExternBlock: true
18     BeforeElse: false
19     BeforeWhile: false
20     AfterControlStatement: MultiLine
21 BreakBeforeBinaryOperators: None
22 BreakBeforeBraces: Custom
23 ColumnLimit: 80
24 ContinuationIndentWidth: 8
25 IndentCaseLabels: false
26 IndentGotoLabels: false
27 IndentWidth: 8
28 PenaltyBreakAssignment: 200
29 PenaltyBreakBeforeFirstCallParameter: 100
30 PenaltyReturnTypeOnItsOwnLine: 1000
31 SortIncludes: false
32 UseTab: true
33 WhitespaceSensitiveMacros: ['DEBUG']