meson: Enable format-string-related compiler warnings
[mesa-waffle.git] / .clang-format
blobdccdfd214a722b4c143a7338a90303c47be32d24
1 BasedOnStyle: LLVM
2 AlwaysBreakAfterReturnType: TopLevel
3 BinPackParameters: false
4 BraceWrapping:
5   AfterControlStatement: false
6   AfterEnum: false
7   AfterFunction: true
8   AfterStruct: false
9   BeforeElse: false
10   SplitEmptyFunction: true
11 BreakBeforeBraces: Custom
12 ColumnLimit: 80
13 ContinuationIndentWidth: 4
14 Cpp11BracedListStyle: false
15 IncludeBlocks: Regroup
16 IncludeCategories:
17   - Regex:           '^"(droid|cgl|wgbm|glx|nacl|sl|wayland|wl|wgl)'
18     Priority:        8
19   - Regex:           '^"wegl'
20     Priority:        7
21   - Regex:           '^"x11'
22     Priority:        6
23   - Regex:           '^"linux'
24     Priority:        5
25   - Regex:           '^"wcore'
26     Priority:        4
27   - Regex:           '^"api'
28     Priority:        3
29   - Regex:           '^"waffle'
30     Priority:        2
31   - Regex:           '.*/'
32     Priority:        1
33   - Regex:           '.*'
34     Priority:        0
35 IndentWidth: 4
36 PenaltyBreakBeforeFirstCallParameter: 1
37 PenaltyExcessCharacter: 100
38 SpaceAfterCStyleCast: false
39 SpaceBeforeCpp11BracedList: false