|
1 | 1 | --- |
2 | 2 | BasedOnStyle: Google |
| 3 | +ColumnLimit: 120 |
| 4 | +MaxEmptyLinesToKeep: 1 |
| 5 | +SortIncludes: false |
| 6 | + |
| 7 | +Standard: Auto |
| 8 | +IndentWidth: 2 |
| 9 | +TabWidth: 2 |
| 10 | +UseTab: Never |
3 | 11 | AccessModifierOffset: -2 |
4 | 12 | ConstructorInitializerIndentWidth: 2 |
| 13 | +NamespaceIndentation: None |
| 14 | +ContinuationIndentWidth: 4 |
| 15 | +IndentCaseLabels: true |
| 16 | +IndentFunctionDeclarationAfterType: false |
| 17 | + |
5 | 18 | AlignEscapedNewlinesLeft: false |
6 | 19 | AlignTrailingComments: true |
| 20 | + |
7 | 21 | AllowAllParametersOfDeclarationOnNextLine: false |
| 22 | +ExperimentalAutoDetectBinPacking: false |
| 23 | +ObjCSpaceBeforeProtocolList: true |
| 24 | +Cpp11BracedListStyle: false |
| 25 | + |
| 26 | +AllowShortBlocksOnASingleLine: true |
8 | 27 | AllowShortIfStatementsOnASingleLine: false |
9 | 28 | AllowShortLoopsOnASingleLine: false |
10 | 29 | AllowShortFunctionsOnASingleLine: None |
11 | | -AllowShortLoopsOnASingleLine: false |
| 30 | +AllowShortCaseLabelsOnASingleLine: false |
| 31 | + |
12 | 32 | AlwaysBreakTemplateDeclarations: true |
13 | 33 | AlwaysBreakBeforeMultilineStrings: false |
14 | 34 | BreakBeforeBinaryOperators: false |
15 | 35 | BreakBeforeTernaryOperators: false |
16 | 36 | BreakConstructorInitializersBeforeComma: true |
| 37 | + |
17 | 38 | BinPackParameters: true |
18 | | -ColumnLimit: 120 |
19 | 39 | ConstructorInitializerAllOnOneLineOrOnePerLine: true |
20 | 40 | DerivePointerBinding: false |
21 | 41 | PointerBindsToType: true |
22 | | -ExperimentalAutoDetectBinPacking: false |
23 | | -IndentCaseLabels: true |
24 | | -MaxEmptyLinesToKeep: 1 |
25 | | -NamespaceIndentation: None |
26 | | -ObjCSpaceBeforeProtocolList: true |
27 | | -PenaltyBreakBeforeFirstCallParameter: 19 |
28 | | -PenaltyBreakComment: 60 |
29 | | -PenaltyBreakString: 1 |
30 | | -PenaltyBreakFirstLessLess: 1000 |
31 | | -PenaltyExcessCharacter: 1000 |
32 | | -PenaltyReturnTypeOnItsOwnLine: 90 |
| 42 | + |
| 43 | +PenaltyExcessCharacter: 50 |
| 44 | +PenaltyBreakBeforeFirstCallParameter: 30 |
| 45 | +PenaltyBreakComment: 1000 |
| 46 | +PenaltyBreakFirstLessLess: 10 |
| 47 | +PenaltyBreakString: 100 |
| 48 | +PenaltyReturnTypeOnItsOwnLine: 50 |
| 49 | + |
33 | 50 | SpacesBeforeTrailingComments: 2 |
34 | | -Cpp11BracedListStyle: false |
35 | | -Standard: Auto |
36 | | -IndentWidth: 2 |
37 | | -TabWidth: 2 |
38 | | -UseTab: Never |
39 | | -IndentFunctionDeclarationAfterType: false |
40 | 51 | SpacesInParentheses: false |
41 | 52 | SpacesInAngles: false |
42 | 53 | SpaceInEmptyParentheses: false |
43 | 54 | SpacesInCStyleCastParentheses: false |
| 55 | +SpaceAfterCStyleCast: false |
44 | 56 | SpaceAfterControlStatementKeyword: true |
45 | 57 | SpaceBeforeAssignmentOperators: true |
46 | | -ContinuationIndentWidth: 4 |
47 | | -SortIncludes: false |
48 | | -SpaceAfterCStyleCast: false |
49 | 58 |
|
50 | 59 | # Configure each individual brace in BraceWrapping |
51 | 60 | BreakBeforeBraces: Custom |
52 | 61 |
|
53 | 62 | # Control of individual brace wrapping cases |
54 | | -BraceWrapping: { |
55 | | - AfterClass: 'true' |
56 | | - AfterControlStatement: 'true' |
57 | | - AfterEnum : 'true' |
58 | | - AfterFunction : 'true' |
59 | | - AfterNamespace : 'true' |
60 | | - AfterStruct : 'true' |
61 | | - AfterUnion : 'true' |
62 | | - BeforeCatch : 'true' |
63 | | - BeforeElse : 'true' |
64 | | - IndentBraces : 'false' |
65 | | -} |
| 63 | +BraceWrapping: |
| 64 | + AfterCaseLabel: true |
| 65 | + AfterClass: true |
| 66 | + AfterControlStatement: true |
| 67 | + AfterEnum: true |
| 68 | + AfterFunction: true |
| 69 | + AfterNamespace: true |
| 70 | + AfterStruct: true |
| 71 | + AfterUnion: true |
| 72 | + BeforeCatch: true |
| 73 | + BeforeElse: true |
| 74 | + IndentBraces: false |
66 | 75 | ... |
0 commit comments