|
| 1 | +--- |
| 2 | +# BasedOnStyle: LLVM |
| 3 | +AccessModifierOffset: -2 |
| 4 | +AlignAfterOpenBracket: true |
| 5 | +AlignEscapedNewlinesLeft: false |
| 6 | +AlignOperands: true |
| 7 | +AlignTrailingComments: true |
| 8 | +AllowAllParametersOfDeclarationOnNextLine: false |
| 9 | +AllowShortBlocksOnASingleLine: false |
| 10 | +AllowShortCaseLabelsOnASingleLine: false |
| 11 | +AllowShortFunctionsOnASingleLine: false |
| 12 | +AllowShortIfStatementsOnASingleLine: false |
| 13 | +AllowShortLoopsOnASingleLine: false |
| 14 | +AlwaysBreakBeforeMultilineStrings: false |
| 15 | +BinPackArguments: true |
| 16 | +BinPackParameters: true |
| 17 | + |
| 18 | +# BreakBeforeBinaryOperators changed to None from NonAssignment to respect |
| 19 | +# our CR on the multi-line conditions in control flow statements. |
| 20 | +BreakBeforeBinaryOperators: None |
| 21 | + |
| 22 | +# Customized based on BreakBeforeBraces: Linux |
| 23 | +# AfterControlStatement changed to MultiLine from false to respect our CR |
| 24 | +# on multi-line conditions in control flow statements. |
| 25 | +BreakBeforeBraces: Custom |
| 26 | +BraceWrapping: |
| 27 | + AfterClass: true |
| 28 | + AfterControlStatement: MultiLine # For Linux Style: is false |
| 29 | + AfterEnum: false |
| 30 | + AfterFunction: true |
| 31 | + AfterNamespace: true |
| 32 | + AfterStruct: false |
| 33 | + AfterUnion: false |
| 34 | + BeforeCatch: false |
| 35 | + BeforeElse: false |
| 36 | + IndentBraces: false |
| 37 | + |
| 38 | +BreakBeforeTernaryOperators: true |
| 39 | +ColumnLimit: 78 |
| 40 | +ContinuationIndentWidth: 4 |
| 41 | +#Cpp11BracedListStyle: true |
| 42 | +DerivePointerAlignment: false |
| 43 | +DisableFormat: false |
| 44 | +#IndentCaseLabels: true |
| 45 | +#IndentFunctionDeclarationAfterType: false |
| 46 | +IndentWidth: 4 |
| 47 | +IndentWrappedFunctionNames: false |
| 48 | +KeepEmptyLinesAtTheStartOfBlocks: false |
| 49 | +MaxEmptyLinesToKeep: 1 |
| 50 | +ObjCBlockIndentWidth: 4 |
| 51 | +PenaltyBreakBeforeFirstCallParameter: 19 |
| 52 | +PenaltyBreakComment: 300 |
| 53 | +PenaltyBreakFirstLessLess: 120 |
| 54 | +PenaltyBreakString: 1000 |
| 55 | +PenaltyExcessCharacter: 1000000 |
| 56 | +PenaltyReturnTypeOnItsOwnLine: 0 |
| 57 | +PointerAlignment: Right |
| 58 | +SpaceAfterCStyleCast: false |
| 59 | +SpaceBeforeAssignmentOperators: true |
| 60 | + |
| 61 | +# SpaceBeforeParens Changed from ControlStatements to keep our current sytle |
| 62 | +# in for_each macros although no CR require this. |
| 63 | +SpaceBeforeParens: ControlStatementsExceptForEachMacros |
| 64 | + |
| 65 | +SpaceInEmptyParentheses: false |
| 66 | +SpacesInCStyleCastParentheses: false |
| 67 | +SpacesInParentheses: false |
| 68 | +SpacesInSquareBrackets: false |
| 69 | +TabWidth: 4 |
| 70 | +UseTab: Never |
| 71 | + |
| 72 | +#LabelModifierOffset: 2 |
| 73 | +#SpaceAfterAssert: true |
| 74 | +#SpacesBeforeDefineValue: 2 |
| 75 | + |
| 76 | +# Definition by pattern is not possible. |
| 77 | +# TODO: Add more! |
| 78 | +ForEachMacros: |
| 79 | + - tab_for_each_pos |
| 80 | + - tab_for_each_ptr |
| 81 | + - tab_for_each_entry |
| 82 | + - tab_enumerate |
| 83 | + - tab_enumerate_ptr |
| 84 | + - carray_for_each_pos |
| 85 | + - carray_for_each_entry |
| 86 | + - htlist_for_each |
| 87 | + - htlist_for_each_entry |
| 88 | + - dlist_for_each |
| 89 | + - dlist_for_each_entry |
| 90 | + - dlist_for_each_rev |
| 91 | + - qh_for_each_pos |
| 92 | + - qh_for_each_key |
| 93 | + - qm_for_each_pos |
| 94 | + - qm_for_each_key |
| 95 | + - qm_for_each_key_p |
| 96 | + - qm_for_each_value |
| 97 | + - qm_for_each_value_p |
| 98 | + - qm_for_each_key_value |
| 99 | + - qm_for_each_key_p_value |
| 100 | + - qm_for_each_key_value_p |
| 101 | + - qm_for_each_key_p_value_p |
| 102 | + |
| 103 | +--- |
| 104 | +Language: Cpp |
| 105 | +--- |
| 106 | +Language: JavaScript |
| 107 | +... |
0 commit comments