-
Notifications
You must be signed in to change notification settings - Fork 21
/
.clang-format
58 lines (58 loc) · 2.09 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
57
58
{
"BasedOnStyle": "Google",
"AccessModifierOffset": -4,
"ConstructorInitializerIndentWidth": 2,
"AlignAfterOpenBracket": "AlwaysBreak",
"AlignEscapedNewlinesLeft": false,
"AlignTrailingComments": true,
"AllowAllParametersOfDeclarationOnNextLine": false,
"AllowShortIfStatementsOnASingleLine": false,
"AllowShortLoopsOnASingleLine": false,
"AllowShortFunctionsOnASingleLine": "None",
"AllowShortLoopsOnASingleLine": false,
"AlwaysBreakTemplateDeclarations": true,
"AlwaysBreakBeforeMultilineStrings": false,
"BreakBeforeBinaryOperators": "NonAssignment",
"BreakBeforeTernaryOperators": false,
"BreakConstructorInitializersBeforeComma": true,
"BreakStringLiterals": false,
"BinPackParameters": false,
"BinPackArguments": false,
"ColumnLimit": 120,
"ConstructorInitializerAllOnOneLineOrOnePerLine": true,
"DerivePointerBinding": true,
"ExperimentalAutoDetectBinPacking": false,
"IndentCaseLabels": true,
"MaxEmptyLinesToKeep": 3,
"NamespaceIndentation": "All",
"ObjCSpaceBeforeProtocolList": true,
"PenaltyBreakBeforeFirstCallParameter": 19,
"PenaltyBreakComment": 60,
"PenaltyBreakString": 1,
"PenaltyBreakFirstLessLess": 1000,
"PenaltyExcessCharacter": 500,
"PenaltyReturnTypeOnItsOwnLine": 1000,
"PointerBindsToType": false,
"SpacesBeforeTrailingComments": 2,
"Cpp11BracedListStyle": false,
"Standard": "Auto",
"IndentWidth": 4,
"TabWidth": 4,
"UseTab": "Never",
"BreakBeforeBraces": "Allman",
"IndentFunctionDeclarationAfterType": false,
"SpacesInParentheses": false,
"SpacesInAngles": false,
"SpaceInEmptyParentheses": false,
"SpacesInCStyleCastParentheses": false,
"SpaceAfterControlStatementKeyword": true,
"SpaceBeforeAssignmentOperators": true,
"ContinuationIndentWidth": 8,
"SortIncludes": false,
"IndentPPDirectives": "AfterHash",
"DerivePointerAlignment": false,
"PointerAlignment": "Right",
"FixNamespaceComments": true,
"IndentWrappedFunctionNames": true,
"Standard": "Cpp03",
}