-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
56 lines (56 loc) · 2 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"AccessModifierOffset": -4,
"AlignAfterOpenBracket": "AlwaysBreak",
"AlignEscapedNewlinesLeft": false,
"AlignTrailingComments": true,
"AllowAllParametersOfDeclarationOnNextLine": false,
"AllowShortFunctionsOnASingleLine": "None",
"AllowShortIfStatementsOnASingleLine": false,
"AllowShortLoopsOnASingleLine": false,
"AlwaysBreakBeforeMultilineStrings": false,
"AlwaysBreakTemplateDeclarations": true,
"BasedOnStyle": "Google",
"BinPackArguments": false,
"BinPackParameters": false,
"BreakBeforeBinaryOperators": "NonAssignment",
"BreakBeforeBraces": "Allman",
"BreakBeforeTernaryOperators": false,
"BreakConstructorInitializersBeforeComma": true,
"BreakStringLiterals": false,
"ColumnLimit": 120,
"ConstructorInitializerAllOnOneLineOrOnePerLine": true,
"ConstructorInitializerIndentWidth": 2,
"ContinuationIndentWidth": 8,
"Cpp11BracedListStyle": false,
"DerivePointerAlignment": false,
"DerivePointerBinding": true,
"ExperimentalAutoDetectBinPacking": false,
"FixNamespaceComments": true,
"IndentCaseLabels": true,
"IndentFunctionDeclarationAfterType": false,
"IndentPPDirectives": "AfterHash",
"IndentWidth": 4,
"IndentWrappedFunctionNames": true,
"MaxEmptyLinesToKeep": 3,
"NamespaceIndentation": "All",
"ObjCSpaceBeforeProtocolList": true,
"PenaltyBreakBeforeFirstCallParameter": 19,
"PenaltyBreakComment": 60,
"PenaltyBreakFirstLessLess": 1000,
"PenaltyBreakString": 1,
"PenaltyExcessCharacter": 500,
"PenaltyReturnTypeOnItsOwnLine": 1000,
"PointerAlignment": "Right",
"PointerBindsToType": false,
"SortIncludes": false,
"SpaceAfterControlStatementKeyword": true,
"SpaceBeforeAssignmentOperators": true,
"SpaceInEmptyParentheses": false,
"SpacesBeforeTrailingComments": 2,
"SpacesInAngles": false,
"SpacesInCStyleCastParentheses": false,
"SpacesInParentheses": false,
"Standard": "c++17",
"TabWidth": 4,
"UseTab": "Never",
}