|
| 1 | +--- |
| 2 | +BasedOnStyle: Google |
| 3 | +AccessModifierOffset: -2 |
| 4 | +ConstructorInitializerIndentWidth: 2 |
| 5 | +AlignEscapedNewlinesLeft: false |
| 6 | +AlignTrailingComments: true |
| 7 | +AllowAllParametersOfDeclarationOnNextLine: false |
| 8 | +AllowShortIfStatementsOnASingleLine: false |
| 9 | +AllowShortLoopsOnASingleLine: false |
| 10 | +AllowShortFunctionsOnASingleLine: None |
| 11 | +AllowShortLoopsOnASingleLine: false |
| 12 | +AlwaysBreakTemplateDeclarations: true |
| 13 | +AlwaysBreakBeforeMultilineStrings: false |
| 14 | +BreakBeforeBinaryOperators: false |
| 15 | +BreakBeforeTernaryOperators: false |
| 16 | +BreakConstructorInitializersBeforeComma: true |
| 17 | +BinPackParameters: true |
| 18 | +ColumnLimit: 120 |
| 19 | +ConstructorInitializerAllOnOneLineOrOnePerLine: true |
| 20 | +DerivePointerBinding: false |
| 21 | +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 |
| 33 | +SpacesBeforeTrailingComments: 2 |
| 34 | +Cpp11BracedListStyle: true |
| 35 | +Standard: Auto |
| 36 | +IndentWidth: 4 |
| 37 | +TabWidth: 4 |
| 38 | +UseTab: Never |
| 39 | +IndentFunctionDeclarationAfterType: false |
| 40 | +SpacesInParentheses: false |
| 41 | +SpacesInAngles: false |
| 42 | +SpaceInEmptyParentheses: false |
| 43 | +SpacesInCStyleCastParentheses: false |
| 44 | +SpaceAfterControlStatementKeyword: true |
| 45 | +SpaceBeforeAssignmentOperators: true |
| 46 | +ContinuationIndentWidth: 4 |
| 47 | +SortIncludes: false |
| 48 | +SpaceAfterCStyleCast: false |
| 49 | + |
| 50 | +# Configure each individual brace in BraceWrapping |
| 51 | +BreakBeforeBraces: Custom |
| 52 | + |
| 53 | +# 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 | +} |
| 66 | +... |
| 67 | + |
0 commit comments