[APITESTS] Centrally define AllocateGuarded/FreeGuarded instead of duplicating them.
[reactos.git] / .clang-format
1 # full manual is at https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2 ---
3 BasedOnStyle: Microsoft
4
5 IndentWidth: 4
6 UseTab: Never
7
8 IndentCaseLabels: true
9
10 AllowAllArgumentsOnNextLine: false
11 AllowAllParametersOfDeclarationOnNextLine: false
12
13 BinPackParameters: false
14 BinPackArguments: true
15
16 # This applies to () [] <>
17 AlignAfterOpenBracket: AlwaysBreak
18
19 # Always break before braces
20 BreakBeforeBraces: Allman
21
22 # return type on it's own line
23 AlwaysBreakAfterReturnType: All
24
25 SpaceBeforeAssignmentOperators: true
26 SpaceBeforeParens: ControlStatements
27 SpaceBeforeRangeBasedForLoopColon: true
28 SpaceInEmptyParentheses: false
29 SpacesBeforeTrailingComments: 1
30 SpacesInAngles: false
31 SpacesInContainerLiterals: true
32 SpacesInCStyleCastParentheses: false
33 SpacesInParentheses: false
34 SpacesInSquareBrackets: false
35 ...