|
1 | 1 | ---
|
2 | 2 | Language: Cpp
|
3 |
| -# BasedOnStyle: Chromium |
4 |
| -AccessModifierOffset: -2 |
5 |
| -AlignAfterOpenBracket: Align |
6 |
| -AlignConsecutiveMacros: false |
7 |
| -AlignConsecutiveAssignments: false |
8 |
| -AlignConsecutiveBitFields: false |
9 |
| -AlignConsecutiveDeclarations: false |
10 |
| -AlignEscapedNewlines: DontAlign |
11 |
| -AlignOperands: DontAlign |
12 |
| -AlignTrailingComments: false |
| 3 | +AccessModifierOffset: -4 |
| 4 | +AlignAfterOpenBracket: BlockIndent |
| 5 | +AlignArrayOfStructures: Left |
| 6 | +AlignConsecutiveAssignments: None |
| 7 | +AlignConsecutiveBitFields: None |
| 8 | +AlignConsecutiveDeclarations: None |
| 9 | +AlignConsecutiveMacros: AcrossEmptyLines |
| 10 | +AlignEscapedNewlines: Right |
| 11 | +AlignOperands: Align |
| 12 | +AlignTrailingComments: true |
13 | 13 | AllowAllArgumentsOnNextLine: true
|
14 |
| -AllowAllConstructorInitializersOnNextLine: false |
15 | 14 | AllowAllParametersOfDeclarationOnNextLine: true
|
16 |
| -AllowShortEnumsOnASingleLine: false |
17 | 15 | AllowShortBlocksOnASingleLine: Empty
|
18 | 16 | AllowShortCaseLabelsOnASingleLine: false
|
| 17 | +AllowShortEnumsOnASingleLine: true |
19 | 18 | AllowShortFunctionsOnASingleLine: Inline
|
20 |
| -AllowShortLambdasOnASingleLine: All |
21 | 19 | AllowShortIfStatementsOnASingleLine: Never
|
| 20 | +AllowShortLambdasOnASingleLine: All |
22 | 21 | AllowShortLoopsOnASingleLine: false
|
23 |
| -AlwaysBreakAfterDefinitionReturnType: None |
24 | 22 | AlwaysBreakAfterReturnType: None
|
25 |
| -AlwaysBreakBeforeMultilineStrings: true |
| 23 | +AlwaysBreakBeforeMultilineStrings: false |
26 | 24 | AlwaysBreakTemplateDeclarations: Yes
|
27 |
| -BinPackArguments: false |
28 |
| -BinPackParameters: false |
| 25 | +AttributeMacros: |
| 26 | + - __capability |
| 27 | +BasedOnStyle: "LLVM" |
| 28 | +BinPackArguments: true |
| 29 | +BinPackParameters: true |
| 30 | +BitFieldColonSpacing: Both |
29 | 31 | BraceWrapping:
|
30 | 32 | AfterCaseLabel: false
|
31 |
| - AfterClass: true |
32 |
| - AfterControlStatement: MultiLine |
33 |
| - AfterEnum: true |
| 33 | + AfterClass: false |
| 34 | + AfterControlStatement: Never |
| 35 | + AfterEnum: false |
34 | 36 | AfterFunction: true
|
35 |
| - AfterNamespace: true |
| 37 | + AfterNamespace: false |
36 | 38 | AfterObjCDeclaration: false
|
37 |
| - AfterStruct: true |
38 |
| - AfterUnion: true |
39 |
| - AfterExternBlock: true |
| 39 | + AfterStruct: false |
| 40 | + AfterUnion: false |
| 41 | + AfterExternBlock: false |
40 | 42 | BeforeCatch: false
|
41 |
| - BeforeElse: false |
42 |
| - BeforeLambdaBody: true |
| 43 | + BeforeElse: true |
| 44 | + BeforeLambdaBody: false |
43 | 45 | BeforeWhile: false
|
44 | 46 | IndentBraces: false
|
45 |
| - SplitEmptyFunction: true |
| 47 | + SplitEmptyFunction: false |
46 | 48 | SplitEmptyRecord: true
|
47 | 49 | SplitEmptyNamespace: true
|
| 50 | +BreakAfterJavaFieldAnnotations: true |
48 | 51 | BreakBeforeBinaryOperators: NonAssignment
|
49 | 52 | BreakBeforeBraces: Custom
|
50 |
| -# BreakBeforeInheritanceComma: true |
51 |
| -BreakInheritanceList: BeforeComma |
| 53 | +BreakBeforeConceptDeclarations: true |
52 | 54 | BreakBeforeTernaryOperators: true
|
53 |
| -BreakConstructorInitializersBeforeComma: true |
54 |
| -BreakConstructorInitializers: BeforeComma |
55 |
| -BreakAfterJavaFieldAnnotations: true |
| 55 | +BreakConstructorInitializers: AfterColon |
| 56 | +BreakInheritanceList: AfterColon |
56 | 57 | BreakStringLiterals: true
|
57 |
| -ColumnLimit: 80 |
58 |
| -CommentPragmas: '^ IWYU pragma:' |
| 58 | +ColumnLimit: 88 |
| 59 | +CommentPragmas: "^( IWYU pragma:| NOLINT)" |
59 | 60 | CompactNamespaces: false
|
60 |
| -ConstructorInitializerAllOnOneLineOrOnePerLine: false |
61 | 61 | ConstructorInitializerIndentWidth: 4
|
62 | 62 | ContinuationIndentWidth: 4
|
63 | 63 | Cpp11BracedListStyle: true
|
64 | 64 | DeriveLineEnding: false
|
65 | 65 | DerivePointerAlignment: false
|
66 | 66 | DisableFormat: false
|
| 67 | +EmptyLineAfterAccessModifier: Never |
| 68 | +EmptyLineBeforeAccessModifier: LogicalBlock |
67 | 69 | ExperimentalAutoDetectBinPacking: false
|
68 | 70 | FixNamespaceComments: true
|
69 | 71 | ForEachMacros:
|
70 | 72 | - foreach
|
71 | 73 | - Q_FOREACH
|
72 | 74 | - BOOST_FOREACH
|
| 75 | +IfMacros: |
| 76 | + - KJ_IF_MAYBE |
73 | 77 | IncludeBlocks: Regroup
|
74 | 78 | IncludeCategories:
|
75 |
| - # Standard library headers come before anything else |
76 |
| - - Regex: '^<[a-z_]+>' |
77 |
| - Priority: -1 |
78 |
| - - Regex: '^<.+\.h(pp)?>' |
| 79 | + # Headers in "" with extension. |
| 80 | + - Regex: '"([A-Za-z0-9.\Q/-_\E])+"' |
79 | 81 | Priority: 1
|
80 |
| - - Regex: '^<.*' |
| 82 | + CaseSensitive: false |
| 83 | + # Headers in <> from libraries. |
| 84 | + - Regex: "^(<(gsl|catch2))" |
81 | 85 | Priority: 2
|
82 |
| - - Regex: '.*' |
| 86 | + CaseSensitive: false |
| 87 | + # C headers |
| 88 | + - Regex: '<c([A-Za-z0-9\Q/-_\E])+>' |
| 89 | + Priority: 4 |
| 90 | + CaseSensitive: false |
| 91 | + # Headers in <> without extension. |
| 92 | + - Regex: '<([A-Za-z0-9\Q/-_\E])+>' |
| 93 | + Priority: 5 |
| 94 | + CaseSensitive: false |
| 95 | + # Headers in <> with extension. |
| 96 | + - Regex: '<([A-Za-z0-9.\Q/-_\E])+>' |
83 | 97 | Priority: 3
|
84 |
| -IncludeIsMainRegex: '' |
85 |
| -IncludeIsMainSourceRegex: '' |
| 98 | + CaseSensitive: false |
| 99 | +IncludeIsMainRegex: "(Test)?$" |
| 100 | +IncludeIsMainSourceRegex: "" |
| 101 | +IndentAccessModifiers: false |
86 | 102 | IndentCaseLabels: true
|
87 |
| -IndentCaseBlocks: false |
88 |
| -IndentGotoLabels: true |
| 103 | +IndentCaseBlocks: true |
| 104 | +IndentExternBlock: AfterExternBlock |
| 105 | +IndentGotoLabels: false |
89 | 106 | IndentPPDirectives: AfterHash
|
90 |
| -IndentExternBlock: NoIndent |
91 |
| -IndentWidth: 2 |
| 107 | +IndentRequires: false |
| 108 | +IndentWidth: 4 |
92 | 109 | IndentWrappedFunctionNames: false
|
93 |
| -InsertTrailingCommas: Wrapped |
94 |
| -JavaScriptQuotes: Double |
95 |
| -JavaScriptWrapImports: true |
96 | 110 | KeepEmptyLinesAtTheStartOfBlocks: false
|
97 |
| -MacroBlockBegin: '' |
98 |
| -MacroBlockEnd: '' |
| 111 | +LambdaBodyIndentation: Signature |
| 112 | +MacroBlockBegin: "" |
| 113 | +MacroBlockEnd: "" |
99 | 114 | MaxEmptyLinesToKeep: 1
|
100 | 115 | NamespaceIndentation: None
|
101 |
| -ObjCBinPackProtocolList: Never |
102 |
| -ObjCBlockIndentWidth: 2 |
103 |
| -ObjCBreakBeforeNestedBlockParam: true |
104 |
| -ObjCSpaceAfterProperty: false |
105 |
| -ObjCSpaceBeforeProtocolList: true |
| 116 | +PackConstructorInitializers: BinPack |
106 | 117 | PenaltyBreakAssignment: 2
|
107 |
| -PenaltyBreakBeforeFirstCallParameter: 1 |
| 118 | +PenaltyBreakBeforeFirstCallParameter: 19 |
108 | 119 | PenaltyBreakComment: 300
|
109 | 120 | PenaltyBreakFirstLessLess: 120
|
| 121 | +PenaltyBreakOpenParenthesis: 0 |
110 | 122 | PenaltyBreakString: 1000
|
111 | 123 | PenaltyBreakTemplateDeclaration: 10
|
112 | 124 | PenaltyExcessCharacter: 1000000
|
113 |
| -PenaltyReturnTypeOnItsOwnLine: 200 |
| 125 | +PenaltyIndentedWhitespace: 0 |
| 126 | +PenaltyReturnTypeOnItsOwnLine: 60 |
114 | 127 | PointerAlignment: Left
|
115 |
| -RawStringFormats: |
116 |
| - - Language: Cpp |
117 |
| - Delimiters: |
118 |
| - - cc |
119 |
| - - CC |
120 |
| - - cpp |
121 |
| - - Cpp |
122 |
| - - CPP |
123 |
| - - 'c++' |
124 |
| - - 'C++' |
125 |
| - CanonicalDelimiter: '' |
126 |
| - BasedOnStyle: google |
127 |
| - - Language: TextProto |
128 |
| - Delimiters: |
129 |
| - - pb |
130 |
| - - PB |
131 |
| - - proto |
132 |
| - - PROTO |
133 |
| - EnclosingFunctions: |
134 |
| - - EqualsProto |
135 |
| - - EquivToProto |
136 |
| - - PARSE_PARTIAL_TEXT_PROTO |
137 |
| - - PARSE_TEST_PROTO |
138 |
| - - PARSE_TEXT_PROTO |
139 |
| - - ParseTextOrDie |
140 |
| - - ParseTextProtoOrDie |
141 |
| - - ParseTestProto |
142 |
| - - ParsePartialTestProto |
143 |
| - CanonicalDelimiter: '' |
144 |
| - BasedOnStyle: google |
| 128 | +PPIndentWidth: 2 |
| 129 | +QualifierAlignment: Leave |
| 130 | +ReferenceAlignment: Pointer |
145 | 131 | ReflowComments: true
|
146 |
| -SortIncludes: true |
| 132 | +RemoveBracesLLVM: false |
| 133 | +SeparateDefinitionBlocks: Always |
| 134 | +ShortNamespaceLines: 1 |
| 135 | +SortIncludes: CaseInsensitive |
147 | 136 | SortUsingDeclarations: true
|
148 | 137 | SpaceAfterCStyleCast: false
|
149 | 138 | SpaceAfterLogicalNot: false
|
150 |
| -SpaceAfterTemplateKeyword: false |
| 139 | +SpaceAfterTemplateKeyword: true |
| 140 | +SpaceAroundPointerQualifiers: Default |
151 | 141 | SpaceBeforeAssignmentOperators: true
|
152 |
| -SpaceBeforeCpp11BracedList: true |
| 142 | +SpaceBeforeCaseColon: false |
| 143 | +SpaceBeforeCpp11BracedList: false |
153 | 144 | SpaceBeforeCtorInitializerColon: true
|
154 | 145 | SpaceBeforeInheritanceColon: true
|
155 |
| -SpaceBeforeParens: ControlStatementsExceptForEachMacros |
| 146 | +SpaceBeforeParens: ControlStatementsExceptControlMacros |
| 147 | +# Ignored as SpaceBeforeParens != Custom |
| 148 | +SpaceBeforeParensOptions: |
| 149 | + AfterControlStatements: true |
| 150 | + AfterForeachMacros: true |
| 151 | + AfterFunctionDefinitionName: false |
| 152 | + AfterFunctionDeclarationName: false |
| 153 | + AfterIfMacros: true |
| 154 | + AfterOverloadedOperator: false |
| 155 | + BeforeNonEmptyParentheses: false |
156 | 156 | SpaceBeforeRangeBasedForLoopColon: true
|
| 157 | +SpaceBeforeSquareBrackets: false |
157 | 158 | SpaceInEmptyBlock: false
|
158 | 159 | SpaceInEmptyParentheses: false
|
159 |
| -SpacesBeforeTrailingComments: 2 |
160 |
| -SpacesInAngles: false |
| 160 | +SpacesInAngles: Never |
| 161 | +SpacesBeforeTrailingComments: 1 |
161 | 162 | SpacesInConditionalStatement: false
|
162 | 163 | SpacesInContainerLiterals: false
|
163 | 164 | SpacesInCStyleCastParentheses: false
|
| 165 | +SpacesInLineCommentPrefix: |
| 166 | + Minimum: 1 |
| 167 | + Maximum: -1 |
164 | 168 | SpacesInParentheses: false
|
165 | 169 | SpacesInSquareBrackets: false
|
166 |
| -SpaceBeforeSquareBrackets: false |
167 |
| -Standard: Auto |
| 170 | +Standard: Latest |
| 171 | +StatementAttributeLikeMacros: |
| 172 | + - Q_EMIT |
168 | 173 | StatementMacros:
|
169 | 174 | - Q_UNUSED
|
170 | 175 | - QT_REQUIRE_VERSION
|
171 |
| -TabWidth: 8 |
| 176 | + - wxBEGIN_EVENT_TABLE |
| 177 | + - wxEND_EVENT_TABLE |
| 178 | + - EVT_MENU |
| 179 | +TabWidth: 4 |
172 | 180 | UseCRLF: false
|
173 | 181 | UseTab: Never
|
174 | 182 | WhitespaceSensitiveMacros:
|
175 | 183 | - STRINGIZE
|
176 | 184 | - PP_STRINGIZE
|
177 | 185 | - BOOST_PP_STRINGIZE
|
178 |
| -... |
| 186 | + - NS_SWIFT_NAME |
| 187 | + - CF_SWIFT_NAME |
| 188 | +--- |
| 189 | + |
0 commit comments