1 # full manual is at https://clang.llvm.org/docs/ClangFormatStyleOptions.html
3 BasedOnStyle: Microsoft
10 AllowAllArgumentsOnNextLine: false
11 AllowAllParametersOfDeclarationOnNextLine: false
13 BinPackParameters: false
14 BinPackArguments: true
16 # This applies to () [] <>
17 AlignAfterOpenBracket: AlwaysBreak
19 # Always break before braces
20 BreakBeforeBraces: Allman
22 # return type on it's own line
23 AlwaysBreakAfterReturnType: All
25 SpaceBeforeAssignmentOperators: true
26 SpaceBeforeParens: ControlStatements
27 SpaceBeforeRangeBasedForLoopColon: true
28 SpaceInEmptyParentheses: false
29 SpacesBeforeTrailingComments: 1
31 SpacesInContainerLiterals: true
32 SpacesInCStyleCastParentheses: false
33 SpacesInParentheses: false
34 SpacesInSquareBrackets: false