CMake Nightly Date Stamp
[kiteware-cmake.git] / .clang-format
blob813a84d87cb4ecb862c4fb0300b410feff79a4e4
1 ---
2 # This configuration requires clang-format version 15 exactly.
3 BasedOnStyle: Mozilla
4 AlignOperands: false
5 AllowShortFunctionsOnASingleLine: InlineOnly
6 AlwaysBreakAfterDefinitionReturnType: None
7 AlwaysBreakAfterReturnType: None
8 BinPackArguments: true
9 BinPackParameters: true
10 BraceWrapping:
11   AfterClass:      true
12   AfterEnum:       true
13   AfterFunction:   true
14   AfterStruct:     true
15   AfterUnion:      true
16 BreakBeforeBraces: Custom
17 ColumnLimit: 79
18 IndentPPDirectives: AfterHash
19 SortUsingDeclarations: false
20 SpaceAfterTemplateKeyword: true
21 IncludeBlocks: Regroup
22 IncludeCategories:
23   - Regex:           '^[<"]cmSTL\.hxx'
24     Priority:        -2
25   - Regex:           '^[<"]cmConfigure\.h'
26     Priority:        -1
27   - Regex:           '^<queue>'
28     Priority:        1
29   - Regex:           '^(<|")cm(ext)?/'
30     Priority:        2
31   - Regex:           '^(<|")windows\.h'
32     Priority:        3
33   - Regex:           '^<sys/'
34     Priority:        5
35   - Regex:           '^(<|")Qt?[A-Z]'
36     Priority:        6
37   - Regex:           '^<cmtp/'
38     Priority:        7
39   - Regex:           '^(<|")cmsys/'
40     Priority:        8
41   - Regex:           '^(<|")cm_'
42     Priority:        9
43   - Regex:           '^(<|")cm[A-Z][^.]+\.h'
44     Priority:        10
45   - Regex:           '^<[^.]+\.h'
46     Priority:        4
47   - Regex:           '^<'
48     Priority:        1
49   - Regex:           '.*'
50     Priority:        11
51 ...