|
1 | 1 | --- |
2 | 2 | Language: Cpp |
3 | | -# BasedOnStyle: LLVM |
| 3 | +# BasedOnStyle: Mozilla |
4 | 4 | AccessModifierOffset: -4 |
5 | | -ConstructorInitializerIndentWidth: 4 |
| 5 | +AlignAfterOpenBracket: Align |
| 6 | +AlignConsecutiveAssignments: false |
| 7 | +AlignConsecutiveDeclarations: false |
6 | 8 | AlignEscapedNewlinesLeft: false |
| 9 | +AlignOperands: true |
7 | 10 | AlignTrailingComments: true |
8 | | -AllowAllParametersOfDeclarationOnNextLine: true |
| 11 | +AllowAllParametersOfDeclarationOnNextLine: false |
9 | 12 | AllowShortBlocksOnASingleLine: false |
| 13 | +AllowShortCaseLabelsOnASingleLine: false |
| 14 | +AllowShortFunctionsOnASingleLine: Inline |
10 | 15 | AllowShortIfStatementsOnASingleLine: false |
11 | 16 | AllowShortLoopsOnASingleLine: false |
12 | | -AllowShortFunctionsOnASingleLine: All |
13 | | -AlwaysBreakTemplateDeclarations: true |
| 17 | +AlwaysBreakAfterDefinitionReturnType: None |
| 18 | +AlwaysBreakAfterReturnType: None |
14 | 19 | AlwaysBreakBeforeMultilineStrings: false |
15 | | -BreakBeforeBinaryOperators: false |
16 | | -BreakBeforeTernaryOperators: true |
17 | | -BreakConstructorInitializersBeforeComma: false |
| 20 | +AlwaysBreakTemplateDeclarations: true |
| 21 | +BinPackArguments: true |
18 | 22 | BinPackParameters: true |
| 23 | +BraceWrapping: |
| 24 | + AfterClass: true |
| 25 | + AfterControlStatement: false |
| 26 | + AfterEnum: true |
| 27 | + AfterFunction: true |
| 28 | + AfterNamespace: false |
| 29 | + AfterObjCDeclaration: false |
| 30 | + AfterStruct: true |
| 31 | + AfterUnion: true |
| 32 | + BeforeCatch: false |
| 33 | + BeforeElse: false |
| 34 | + IndentBraces: false |
| 35 | +BreakBeforeBinaryOperators: None |
| 36 | +BreakBeforeBraces: Attach |
| 37 | +BreakBeforeTernaryOperators: true |
| 38 | +BreakConstructorInitializersBeforeComma: true |
| 39 | +BreakAfterJavaFieldAnnotations: false |
| 40 | +BreakStringLiterals: true |
19 | 41 | ColumnLimit: 80 |
20 | | -ConstructorInitializerAllOnOneLineOrOnePerLine: true |
| 42 | +CommentPragmas: '^ IWYU pragma:' |
| 43 | +ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 44 | +ConstructorInitializerIndentWidth: 2 |
| 45 | +ContinuationIndentWidth: 4 |
| 46 | +Cpp11BracedListStyle: false |
21 | 47 | DerivePointerAlignment: false |
| 48 | +DisableFormat: false |
22 | 49 | ExperimentalAutoDetectBinPacking: false |
23 | | -IndentCaseLabels: false |
| 50 | +ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 51 | +IncludeCategories: |
| 52 | + - Regex: '^"(llvm|llvm-c|clang|clang-c)/' |
| 53 | + Priority: 2 |
| 54 | + - Regex: '^(<|"(gtest|isl|json)/)' |
| 55 | + Priority: 3 |
| 56 | + - Regex: '.*' |
| 57 | + Priority: 1 |
| 58 | +IncludeIsMainRegex: '$' |
| 59 | +IndentCaseLabels: true |
| 60 | +IndentWidth: 4 |
24 | 61 | IndentWrappedFunctionNames: false |
25 | | -IndentFunctionDeclarationAfterType: false |
26 | | -MaxEmptyLinesToKeep: 2 |
| 62 | +JavaScriptQuotes: Leave |
| 63 | +JavaScriptWrapImports: true |
27 | 64 | KeepEmptyLinesAtTheStartOfBlocks: true |
| 65 | +MacroBlockBegin: '' |
| 66 | +MacroBlockEnd: '' |
| 67 | +MaxEmptyLinesToKeep: 1 |
28 | 68 | NamespaceIndentation: None |
29 | | -ObjCSpaceAfterProperty: false |
30 | | -ObjCSpaceBeforeProtocolList: true |
| 69 | +ObjCBlockIndentWidth: 2 |
| 70 | +ObjCSpaceAfterProperty: true |
| 71 | +ObjCSpaceBeforeProtocolList: false |
31 | 72 | PenaltyBreakBeforeFirstCallParameter: 19 |
32 | 73 | PenaltyBreakComment: 300 |
33 | | -PenaltyBreakString: 1000 |
34 | 74 | PenaltyBreakFirstLessLess: 120 |
| 75 | +PenaltyBreakString: 1000 |
35 | 76 | PenaltyExcessCharacter: 1000000 |
36 | | -PenaltyReturnTypeOnItsOwnLine: 60 |
| 77 | +PenaltyReturnTypeOnItsOwnLine: 200 |
37 | 78 | PointerAlignment: Left |
| 79 | +ReflowComments: true |
| 80 | +SortIncludes: true |
| 81 | +SpaceAfterCStyleCast: false |
| 82 | +SpaceBeforeAssignmentOperators: true |
| 83 | +SpaceBeforeParens: ControlStatements |
| 84 | +SpaceInEmptyParentheses: false |
38 | 85 | SpacesBeforeTrailingComments: 1 |
39 | | -Cpp11BracedListStyle: true |
| 86 | +SpacesInAngles: false |
| 87 | +SpacesInContainerLiterals: true |
| 88 | +SpacesInCStyleCastParentheses: false |
| 89 | +SpacesInParentheses: false |
| 90 | +SpacesInSquareBrackets: false |
40 | 91 | Standard: Cpp11 |
41 | | -IndentWidth: 4 |
42 | 92 | TabWidth: 8 |
43 | 93 | UseTab: Never |
44 | | -BreakBeforeBraces: Attach |
45 | | -SpacesInParentheses: false |
46 | | -SpacesInAngles: false |
47 | | -SpaceInEmptyParentheses: false |
48 | | -SpacesInCStyleCastParentheses: false |
49 | | -SpacesInContainerLiterals: true |
50 | | -SpaceBeforeAssignmentOperators: true |
51 | | -ContinuationIndentWidth: 4 |
52 | | -CommentPragmas: '^ IWYU pragma:' |
53 | | -ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
54 | | -SpaceBeforeParens: ControlStatements |
55 | | -DisableFormat: false |
56 | 94 | ... |
57 | 95 |
|
0 commit comments