-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy path.clang-format
More file actions
26 lines (26 loc) · 849 Bytes
/
.clang-format
File metadata and controls
26 lines (26 loc) · 849 Bytes
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
{
BasedOnStyle: WebKit,
AlignConsecutiveAssignments: false,
AlignConsecutiveDeclarations: false,
AlignAfterOpenBracket: Align,
AllowShortBlocksOnASingleLine: false,
AllowShortFunctionsOnASingleLine: None,
AlwaysBreakAfterReturnType: TopLevelDefinitions,
AlwaysBreakTemplateDeclarations: Yes,
BinPackArguments: false,
BinPackParameters: false,
BreakBeforeBraces: Custom,
BreakConstructorInitializers: BeforeComma,
ColumnLimit: 100,
Cpp11BracedListStyle: true,
FixNamespaceComments: true,
InsertNewlineAtEOF: true,
MaxEmptyLinesToKeep: 5,
NamespaceIndentation: Inner,
BraceWrapping: {
AfterStruct: true,
AfterClass: true,
AfterFunction: true,
AfterNamespace: true,
}
}