1 # This configuration should work with Clang-Format 10 and higher.
6 AllowAllConstructorInitializersOnNextLine: false
7 AllowShortFunctionsOnASingleLine: None
8 AlwaysBreakAfterReturnType: AllDefinitions
9 AlwaysBreakBeforeMultilineStrings: true
10 BinPackArguments: false
11 BinPackParameters: false
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
27 - Regex: '^"system.hpp"$'
29 - Regex: '^"third_party/'
35 IndentPPDirectives: AfterHash
36 KeepEmptyLinesAtTheStartOfBlocks: false
37 PointerAlignment: Left
38 SpaceAfterTemplateKeyword: false