1 # This configuration should work with Clang-Format 11 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/'
41 IndentPPDirectives: AfterHash
42 KeepEmptyLinesAtTheStartOfBlocks: false
43 PointerAlignment: Left
44 SpaceAfterTemplateKeyword: false