|
1 | 1 | --- |
2 | | -AccessModifierOffset: -1 |
3 | | -AlignAfterOpenBracket: AlwaysBreak |
| 2 | +Language: Cpp |
| 3 | +BasedOnStyle: LLVM |
| 4 | +AccessModifierOffset: -4 |
| 5 | +AlignAfterOpenBracket: BlockIndent |
4 | 6 | AlignConsecutiveAssignments: false |
5 | 7 | AlignConsecutiveDeclarations: false |
6 | | -AlignEscapedNewlinesLeft: true |
7 | | -AlignOperands: false |
8 | | -AlignTrailingComments: false |
| 8 | +AlignOperands: false |
| 9 | +AlignEscapedNewlines: Left |
| 10 | +AllowAllArgumentsOnNextLine: false |
9 | 11 | AllowAllParametersOfDeclarationOnNextLine: false |
10 | | -AllowShortBlocksOnASingleLine: false |
11 | | -AllowShortCaseLabelsOnASingleLine: false |
12 | | -AllowShortFunctionsOnASingleLine: Empty |
| 12 | +AllowShortBlocksOnASingleLine: Empty |
| 13 | +AllowShortCaseLabelsOnASingleLine: true |
| 14 | +AllowShortFunctionsOnASingleLine: All |
13 | 15 | AllowShortIfStatementsOnASingleLine: false |
| 16 | +AllowShortLambdasOnASingleLine: All |
14 | 17 | AllowShortLoopsOnASingleLine: false |
15 | 18 | AlwaysBreakAfterReturnType: None |
16 | | -AlwaysBreakBeforeMultilineStrings: true |
17 | | -AlwaysBreakTemplateDeclarations: true |
| 19 | +AlwaysBreakTemplateDeclarations: Yes |
18 | 20 | BinPackArguments: false |
19 | 21 | BinPackParameters: false |
20 | 22 | BraceWrapping: |
21 | | - AfterClass: false |
| 23 | + AfterCaseLabel: false |
| 24 | + AfterClass: false |
22 | 25 | AfterControlStatement: false |
23 | | - AfterEnum: false |
24 | | - AfterFunction: false |
25 | | - AfterNamespace: false |
26 | | - AfterObjCDeclaration: false |
27 | | - AfterStruct: false |
28 | | - AfterUnion: false |
29 | | - BeforeCatch: false |
30 | | - BeforeElse: false |
31 | | - IndentBraces: false |
32 | | -BreakBeforeBinaryOperators: None |
33 | | -BreakBeforeBraces: Attach |
| 26 | + AfterEnum: false |
| 27 | + AfterFunction: false |
| 28 | + AfterNamespace: false |
| 29 | + AfterStruct: false |
| 30 | + AfterUnion: false |
| 31 | + AfterExternBlock: false |
| 32 | + BeforeCatch: false |
| 33 | + BeforeElse: false |
| 34 | + BeforeLambdaBody: false |
| 35 | + BeforeWhile: false |
| 36 | + SplitEmptyFunction: false |
| 37 | + SplitEmptyRecord: false |
| 38 | + SplitEmptyNamespace: false |
| 39 | +BreakBeforeBraces: Custom |
34 | 40 | BreakBeforeTernaryOperators: true |
35 | | -BreakConstructorInitializersBeforeComma: false |
36 | | -BreakAfterJavaFieldAnnotations: false |
37 | | -BreakStringLiterals: false |
38 | | -ColumnLimit: 80 |
39 | | -CommentPragmas: '^ IWYU pragma:' |
40 | | -ConstructorInitializerAllOnOneLineOrOnePerLine: true |
41 | | -ConstructorInitializerIndentWidth: 4 |
| 41 | +BreakConstructorInitializers: AfterColon |
| 42 | +BreakInheritanceList: BeforeComma |
| 43 | +ColumnLimit: 110 |
| 44 | +CompactNamespaces: false |
| 45 | +ConstructorInitializerAllOnOneLineOrOnePerLine: false |
42 | 46 | ContinuationIndentWidth: 4 |
43 | | -Cpp11BracedListStyle: true |
44 | | -DerivePointerAlignment: false |
45 | | -DisableFormat: false |
46 | | -ForEachMacros: [ FOR_EACH, FOR_EACH_R, FOR_EACH_RANGE, ] |
| 47 | +EmptyLineAfterAccessModifier: Never |
| 48 | +EmptyLineBeforeAccessModifier: LogicalBlock |
| 49 | +FixNamespaceComments: false |
| 50 | +IncludeBlocks: Preserve |
47 | 51 | IncludeCategories: |
48 | | - - Regex: '^<.*\.h(pp)?>' |
49 | | - Priority: 1 |
50 | | - - Regex: '^<.*' |
51 | | - Priority: 2 |
52 | | - - Regex: '.*' |
53 | | - Priority: 3 |
| 52 | + - Regex: '^".*' |
| 53 | + Priority: 1 |
| 54 | + - Regex: '^<.*' |
| 55 | + Priority: 2 |
| 56 | + - Regex: '.*' |
| 57 | + Priority: 3 |
| 58 | +IncludeIsMainRegex: '([-_](test|unittest))?$' |
| 59 | +IndentCaseBlocks: false |
54 | 60 | IndentCaseLabels: true |
| 61 | +IndentGotoLabels: true |
55 | 62 | IndentPPDirectives: None |
56 | | -IndentWidth: 2 |
| 63 | +IndentWidth: 4 |
57 | 64 | IndentWrappedFunctionNames: false |
58 | | -KeepEmptyLinesAtTheStartOfBlocks: false |
| 65 | +InsertNewlineAtEOF: true |
59 | 66 | MacroBlockBegin: '' |
60 | | -MacroBlockEnd: '' |
61 | | -MaxEmptyLinesToKeep: 1 |
62 | | -NamespaceIndentation: None |
63 | | -ObjCBlockIndentWidth: 2 |
64 | | -ObjCSpaceAfterProperty: false |
65 | | -ObjCSpaceBeforeProtocolList: false |
66 | | -PenaltyBreakBeforeFirstCallParameter: 1 |
67 | | -PenaltyBreakComment: 300 |
68 | | -PenaltyBreakFirstLessLess: 120 |
69 | | -PenaltyBreakString: 1000 |
70 | | -PenaltyExcessCharacter: 1000000 |
71 | | -PenaltyReturnTypeOnItsOwnLine: 200 |
| 67 | +MacroBlockEnd: '' |
| 68 | +MaxEmptyLinesToKeep: 2 |
| 69 | +NamespaceIndentation: Inner |
72 | 70 | PointerAlignment: Left |
73 | | -ReflowComments: true |
74 | | -SortIncludes: true |
75 | | -SpaceAfterCStyleCast: false |
| 71 | +RequiresClausePosition: WithPreceding |
| 72 | +SpaceAfterCStyleCast: true |
| 73 | +SpaceAfterLogicalNot: false |
| 74 | +SpaceAfterTemplateKeyword: false |
76 | 75 | SpaceBeforeAssignmentOperators: true |
77 | | -SpaceBeforeParens: ControlStatements |
| 76 | +SpaceBeforeCtorInitializerColon: true |
| 77 | +SpaceBeforeInheritanceColon: true |
| 78 | +SpaceBeforeParens: Never |
| 79 | +SpaceBeforeRangeBasedForLoopColon: true |
| 80 | +SpaceBeforeSquareBrackets: false |
78 | 81 | SpaceInEmptyParentheses: false |
79 | 82 | SpacesBeforeTrailingComments: 1 |
80 | | -SpacesInAngles: false |
81 | | -SpacesInContainerLiterals: true |
| 83 | +SpacesInAngles: false |
| 84 | +SpacesInConditionalStatement: false |
82 | 85 | SpacesInCStyleCastParentheses: false |
83 | 86 | SpacesInParentheses: false |
84 | 87 | SpacesInSquareBrackets: false |
85 | | -Standard: Cpp11 |
86 | | -TabWidth: 8 |
87 | | -UseTab: Never |
| 88 | +TabWidth: 4 |
| 89 | +UseTab: Never |
| 90 | +PenaltyBreakBeforeFirstCallParameter: 0 |
| 91 | +PenaltyBreakTemplateDeclaration: 0 |
| 92 | +PenaltyReturnTypeOnItsOwnLine: 10 |
88 | 93 | ... |
| 94 | + |
0 commit comments