forked from jpd002/Play-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
37 lines (36 loc) · 869 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Settings tested with clang-format 16
AccessModifierOffset: -4
AllowShortBlocksOnASingleLine: Always
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterClass: true
AfterCaseLabel: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
AfterObjCDeclaration: true
AfterFunction: true
AfterNamespace: true
AfterControlStatement: Always
BeforeCatch: true
BeforeElse: true
BeforeWhile: false
SplitEmptyFunction: true
BeforeLambdaBody: false
BreakConstructorInitializers: BeforeComma
ColumnLimit: 0
FixNamespaceComments: false
IndentWidth: 4
NamespaceIndentation: All
PointerBindsToType: true
SortIncludes: false
SpaceBeforeParens: Never
Standard: c++17
SpacesInLineCommentPrefix:
Minimum: 0
Maximum: -1
TabWidth: 4
UseTab: ForIndentation