Bump to ccache 4.3
[platform/upstream/ccache.git] / .clang-format
1 # This configuration should work with Clang-Format 10 and higher.
2 ---
3 Language: Cpp
4 BasedOnStyle: LLVM
5
6 AllowAllConstructorInitializersOnNextLine: false
7 AllowShortFunctionsOnASingleLine: None
8 AlwaysBreakAfterReturnType: AllDefinitions
9 AlwaysBreakBeforeMultilineStrings: true
10 BinPackArguments: false
11 BinPackParameters: false
12 BraceWrapping:
13   AfterClass: true
14   AfterFunction: true
15   AfterStruct: true
16   AfterUnion: true
17   SplitEmptyFunction: true
18   SplitEmptyRecord: true
19   SplitEmptyNamespace: true
20 BreakBeforeBinaryOperators: NonAssignment
21 BreakBeforeBraces: Custom
22 ConstructorInitializerAllOnOneLineOrOnePerLine: true
23 ConstructorInitializerIndentWidth: 2
24 ContinuationIndentWidth: 2
25 IncludeBlocks: Regroup
26 IncludeCategories:
27   - Regex: '^"system.hpp"$'
28     Priority: 1
29   - Regex: '^"third_party/'
30     Priority: 3
31   - Regex: '^"'
32     Priority: 2
33   - Regex: '.*'
34     Priority: 4
35 IndentPPDirectives: AfterHash
36 KeepEmptyLinesAtTheStartOfBlocks: false
37 PointerAlignment: Left
38 SpaceAfterTemplateKeyword: false
39 Standard: Cpp11