|
1 | 1 | --- |
2 | | -# BasedOnStyle: WebKit |
3 | | -AccessModifierOffset: -4 |
4 | | -AlignAfterOpenBracket: DontAlign |
5 | | -AlignConsecutiveAssignments: false |
6 | | -AlignConsecutiveDeclarations: false |
7 | | -AlignEscapedNewlines: Right |
8 | | -AlignOperands: false |
9 | | -AlignTrailingComments: false |
10 | | -AllowAllParametersOfDeclarationOnNextLine: true |
11 | | -AllowShortBlocksOnASingleLine: false |
| 2 | +BasedOnStyle: Chromium |
| 3 | +AccessModifierOffset: -1 |
| 4 | +AlignAfterOpenBracket: Align |
| 5 | +AlignArrayOfStructures: None |
| 6 | +AlignConsecutiveAssignments: |
| 7 | + Enabled: false |
| 8 | + AcrossEmptyLines: false |
| 9 | + AcrossComments: false |
| 10 | + AlignCompound: false |
| 11 | + AlignFunctionPointers: false |
| 12 | + PadOperators: true |
| 13 | +AlignConsecutiveBitFields: |
| 14 | + Enabled: false |
| 15 | + AcrossEmptyLines: false |
| 16 | + AcrossComments: false |
| 17 | + AlignCompound: false |
| 18 | + AlignFunctionPointers: false |
| 19 | + PadOperators: false |
| 20 | +AlignConsecutiveDeclarations: |
| 21 | + Enabled: false |
| 22 | + AcrossEmptyLines: false |
| 23 | + AcrossComments: false |
| 24 | + AlignCompound: false |
| 25 | + AlignFunctionPointers: false |
| 26 | + PadOperators: false |
| 27 | +AlignConsecutiveMacros: |
| 28 | + Enabled: false |
| 29 | + AcrossEmptyLines: false |
| 30 | + AcrossComments: false |
| 31 | + AlignCompound: false |
| 32 | + AlignFunctionPointers: false |
| 33 | + PadOperators: false |
| 34 | +AlignConsecutiveShortCaseStatements: |
| 35 | + Enabled: false |
| 36 | + AcrossEmptyLines: false |
| 37 | + AcrossComments: false |
| 38 | + AlignCaseArrows: false |
| 39 | + AlignCaseColons: false |
| 40 | +AlignConsecutiveTableGenBreakingDAGArgColons: |
| 41 | + Enabled: false |
| 42 | + AcrossEmptyLines: false |
| 43 | + AcrossComments: false |
| 44 | + AlignCompound: false |
| 45 | + AlignFunctionPointers: false |
| 46 | + PadOperators: false |
| 47 | +AlignConsecutiveTableGenCondOperatorColons: |
| 48 | + Enabled: false |
| 49 | + AcrossEmptyLines: false |
| 50 | + AcrossComments: false |
| 51 | + AlignCompound: false |
| 52 | + AlignFunctionPointers: false |
| 53 | + PadOperators: false |
| 54 | +AlignConsecutiveTableGenDefinitionColons: |
| 55 | + Enabled: false |
| 56 | + AcrossEmptyLines: false |
| 57 | + AcrossComments: false |
| 58 | + AlignCompound: false |
| 59 | + AlignFunctionPointers: false |
| 60 | + PadOperators: false |
| 61 | +AlignEscapedNewlines: Left |
| 62 | +AlignOperands: Align |
| 63 | +AlignTrailingComments: |
| 64 | + Kind: Always |
| 65 | + OverEmptyLines: 0 |
| 66 | +AllowAllArgumentsOnNextLine: true |
| 67 | +AllowAllParametersOfDeclarationOnNextLine: false |
| 68 | +AllowBreakBeforeNoexceptSpecifier: Never |
| 69 | +AllowShortBlocksOnASingleLine: Never |
| 70 | +AllowShortCaseExpressionOnASingleLine: true |
12 | 71 | AllowShortCaseLabelsOnASingleLine: false |
13 | | -AllowShortFunctionsOnASingleLine: All |
14 | | -AllowShortIfStatementsOnASingleLine: false |
| 72 | +AllowShortCompoundRequirementOnASingleLine: true |
| 73 | +AllowShortEnumsOnASingleLine: true |
| 74 | +AllowShortFunctionsOnASingleLine: Inline |
| 75 | +AllowShortIfStatementsOnASingleLine: Never |
| 76 | +AllowShortLambdasOnASingleLine: All |
15 | 77 | AllowShortLoopsOnASingleLine: false |
16 | 78 | AlwaysBreakAfterDefinitionReturnType: None |
17 | | -AlwaysBreakAfterReturnType: None |
18 | | -AlwaysBreakBeforeMultilineStrings: false |
19 | | -AlwaysBreakTemplateDeclarations: No |
| 79 | +AlwaysBreakBeforeMultilineStrings: true |
| 80 | +AttributeMacros: |
| 81 | + - __capability |
20 | 82 | BinPackArguments: true |
21 | | -BinPackParameters: true |
22 | | -BraceWrapping: |
23 | | - AfterClass: false |
24 | | - AfterControlStatement: false |
25 | | - AfterEnum: false |
26 | | - AfterFunction: true |
27 | | - AfterNamespace: false |
| 83 | +BinPackParameters: false |
| 84 | +BitFieldColonSpacing: Both |
| 85 | +BraceWrapping: |
| 86 | + AfterCaseLabel: false |
| 87 | + AfterClass: false |
| 88 | + AfterControlStatement: Never |
| 89 | + AfterEnum: false |
| 90 | + AfterFunction: false |
| 91 | + AfterNamespace: false |
28 | 92 | AfterObjCDeclaration: false |
29 | | - AfterStruct: false |
30 | | - AfterUnion: false |
31 | | - BeforeCatch: false |
32 | | - BeforeElse: false |
33 | | - IndentBraces: false |
| 93 | + AfterStruct: false |
| 94 | + AfterUnion: false |
| 95 | + AfterExternBlock: false |
| 96 | + BeforeCatch: false |
| 97 | + BeforeElse: false |
| 98 | + BeforeLambdaBody: false |
| 99 | + BeforeWhile: false |
| 100 | + IndentBraces: false |
34 | 101 | SplitEmptyFunction: true |
35 | 102 | SplitEmptyRecord: true |
36 | 103 | SplitEmptyNamespace: true |
37 | | -BreakBeforeBinaryOperators: All |
38 | | -BreakBeforeBraces: WebKit |
39 | | -BreakBeforeInheritanceComma: false |
40 | | -BreakBeforeTernaryOperators: true |
41 | | -BreakConstructorInitializersBeforeComma: false |
42 | | -BreakConstructorInitializers: BeforeComma |
| 104 | +BreakAdjacentStringLiterals: true |
| 105 | +BreakAfterAttributes: Leave |
43 | 106 | BreakAfterJavaFieldAnnotations: false |
| 107 | +BreakAfterReturnType: None |
| 108 | +BreakArrays: true |
| 109 | +BreakBeforeBinaryOperators: None |
| 110 | +BreakBeforeBraces: Attach |
| 111 | +BreakBeforeConceptDeclarations: Always |
| 112 | +BreakBeforeInlineASMColon: OnlyMultiline |
| 113 | +BreakBeforeTernaryOperators: true |
| 114 | +BreakConstructorInitializers: BeforeColon |
| 115 | +BreakFunctionDefinitionParameters: false |
| 116 | +BreakInheritanceList: BeforeColon |
44 | 117 | BreakStringLiterals: true |
45 | | -ColumnLimit: 0 |
46 | | -CommentPragmas: '^ IWYU pragma:' |
| 118 | +BreakTemplateDeclarations: Yes |
| 119 | +ColumnLimit: 80 |
| 120 | +CommentPragmas: "^ IWYU pragma:" |
47 | 121 | CompactNamespaces: false |
48 | | -ConstructorInitializerAllOnOneLineOrOnePerLine: false |
49 | 122 | ConstructorInitializerIndentWidth: 4 |
50 | 123 | ContinuationIndentWidth: 4 |
51 | | -Cpp11BracedListStyle: false |
| 124 | +Cpp11BracedListStyle: true |
52 | 125 | DerivePointerAlignment: false |
53 | | -DisableFormat: false |
| 126 | +DisableFormat: false |
| 127 | +EmptyLineAfterAccessModifier: Never |
| 128 | +EmptyLineBeforeAccessModifier: LogicalBlock |
54 | 129 | ExperimentalAutoDetectBinPacking: false |
55 | | -FixNamespaceComments: false |
56 | | -ForEachMacros: |
| 130 | +FixNamespaceComments: true |
| 131 | +ForEachMacros: |
57 | 132 | - foreach |
58 | 133 | - Q_FOREACH |
59 | 134 | - BOOST_FOREACH |
| 135 | +IfMacros: |
| 136 | + - KJ_IF_MAYBE |
| 137 | +IncludeBlocks: Preserve |
60 | 138 | IncludeCategories: |
61 | | - - Regex: '^"config\.h"' |
62 | | - Priority: -1 |
63 | | - # The main header for a source file automatically gets category 0 |
64 | | - - Regex: '^<.*SoftLink.h>' |
65 | | - Priority: 4 |
66 | | - - Regex: '^".*SoftLink.h"' |
67 | | - Priority: 3 |
68 | | - - Regex: '^<.*>' |
69 | | - Priority: 2 |
70 | | - - Regex: '.*' |
71 | | - Priority: 1 |
72 | | -IncludeIsMainRegex: '(Test)?$' |
73 | | -IndentCaseLabels: false |
74 | | -IndentWidth: 4 |
| 139 | + - Regex: ^<ext/.*\.h> |
| 140 | + Priority: 2 |
| 141 | + SortPriority: 0 |
| 142 | + CaseSensitive: false |
| 143 | + - Regex: ^<.*\.h> |
| 144 | + Priority: 1 |
| 145 | + SortPriority: 0 |
| 146 | + CaseSensitive: false |
| 147 | + - Regex: ^<.* |
| 148 | + Priority: 2 |
| 149 | + SortPriority: 0 |
| 150 | + CaseSensitive: false |
| 151 | + - Regex: .* |
| 152 | + Priority: 3 |
| 153 | + SortPriority: 0 |
| 154 | + CaseSensitive: false |
| 155 | +IncludeIsMainRegex: ([-_](test|unittest))?$ |
| 156 | +IncludeIsMainSourceRegex: "" |
| 157 | +IndentAccessModifiers: false |
| 158 | +IndentCaseBlocks: false |
| 159 | +IndentCaseLabels: true |
| 160 | +IndentExternBlock: AfterExternBlock |
| 161 | +IndentGotoLabels: true |
| 162 | +IndentPPDirectives: None |
| 163 | +IndentRequiresClause: true |
| 164 | +IndentWidth: 4 |
75 | 165 | IndentWrappedFunctionNames: false |
| 166 | +InsertBraces: false |
| 167 | +InsertNewlineAtEOF: false |
| 168 | +InsertTrailingCommas: None |
| 169 | +IntegerLiteralSeparator: |
| 170 | + Binary: 0 |
| 171 | + BinaryMinDigits: 0 |
| 172 | + Decimal: 0 |
| 173 | + DecimalMinDigits: 0 |
| 174 | + Hex: 0 |
| 175 | + HexMinDigits: 0 |
76 | 176 | JavaScriptQuotes: Leave |
77 | 177 | JavaScriptWrapImports: true |
78 | | -KeepEmptyLinesAtTheStartOfBlocks: true |
79 | | -MacroBlockBegin: '' |
80 | | -MacroBlockEnd: '' |
| 178 | +KeepEmptyLines: |
| 179 | + AtEndOfFile: false |
| 180 | + AtStartOfBlock: false |
| 181 | + AtStartOfFile: true |
| 182 | +LambdaBodyIndentation: Signature |
| 183 | +Language: Cpp |
| 184 | +LineEnding: DeriveLF |
| 185 | +MacroBlockBegin: "" |
| 186 | +MacroBlockEnd: "" |
| 187 | +MainIncludeChar: Quote |
81 | 188 | MaxEmptyLinesToKeep: 1 |
82 | 189 | NamespaceIndentation: None |
83 | | -ObjCBlockIndentWidth: 4 |
84 | | -ObjCSpaceAfterProperty: true |
| 190 | +ObjCBinPackProtocolList: Never |
| 191 | +ObjCBlockIndentWidth: 2 |
| 192 | +ObjCBreakBeforeNestedBlockParam: true |
| 193 | +ObjCSpaceAfterProperty: false |
85 | 194 | ObjCSpaceBeforeProtocolList: true |
| 195 | +PPIndentWidth: -1 |
| 196 | +PackConstructorInitializers: NextLine |
86 | 197 | PenaltyBreakAssignment: 2 |
87 | | -PenaltyBreakBeforeFirstCallParameter: 19 |
| 198 | +PenaltyBreakBeforeFirstCallParameter: 1 |
88 | 199 | PenaltyBreakComment: 300 |
89 | 200 | PenaltyBreakFirstLessLess: 120 |
| 201 | +PenaltyBreakOpenParenthesis: 0 |
| 202 | +PenaltyBreakScopeResolution: 500 |
90 | 203 | PenaltyBreakString: 1000 |
| 204 | +PenaltyBreakTemplateDeclaration: 10 |
91 | 205 | PenaltyExcessCharacter: 1000000 |
92 | | -PenaltyReturnTypeOnItsOwnLine: 60 |
| 206 | +PenaltyIndentedWhitespace: 0 |
| 207 | +PenaltyReturnTypeOnItsOwnLine: 200 |
93 | 208 | PointerAlignment: Left |
94 | | -ReflowComments: true |
95 | | -SortIncludes: true |
96 | | -SortUsingDeclarations: true |
| 209 | +QualifierAlignment: Leave |
| 210 | +RawStringFormats: |
| 211 | + - Language: Cpp |
| 212 | + Delimiters: |
| 213 | + - cc |
| 214 | + - CC |
| 215 | + - cpp |
| 216 | + - Cpp |
| 217 | + - CPP |
| 218 | + - c++ |
| 219 | + - C++ |
| 220 | + CanonicalDelimiter: "" |
| 221 | + BasedOnStyle: google |
| 222 | + - Language: TextProto |
| 223 | + Delimiters: |
| 224 | + - pb |
| 225 | + - PB |
| 226 | + - proto |
| 227 | + - PROTO |
| 228 | + EnclosingFunctions: |
| 229 | + - EqualsProto |
| 230 | + - EquivToProto |
| 231 | + - PARSE_PARTIAL_TEXT_PROTO |
| 232 | + - PARSE_TEST_PROTO |
| 233 | + - PARSE_TEXT_PROTO |
| 234 | + - ParseTextOrDie |
| 235 | + - ParseTextProtoOrDie |
| 236 | + - ParseTestProto |
| 237 | + - ParsePartialTestProto |
| 238 | + CanonicalDelimiter: pb |
| 239 | + BasedOnStyle: google |
| 240 | +ReferenceAlignment: Pointer |
| 241 | +ReflowComments: true |
| 242 | +RemoveBracesLLVM: false |
| 243 | +RemoveParentheses: Leave |
| 244 | +RemoveSemicolon: false |
| 245 | +RequiresClausePosition: OwnLine |
| 246 | +RequiresExpressionIndentation: OuterScope |
| 247 | +SeparateDefinitionBlocks: Leave |
| 248 | +ShortNamespaceLines: 1 |
| 249 | +SkipMacroDefinitionBody: false |
| 250 | +SortIncludes: CaseSensitive |
| 251 | +SortJavaStaticImport: Before |
| 252 | +SortUsingDeclarations: LexicographicNumeric |
97 | 253 | SpaceAfterCStyleCast: false |
98 | | -SpaceAfterTemplateKeyword: false |
| 254 | +SpaceAfterLogicalNot: false |
| 255 | +SpaceAfterTemplateKeyword: true |
| 256 | +SpaceAroundPointerQualifiers: Default |
99 | 257 | SpaceBeforeAssignmentOperators: true |
100 | | -SpaceBeforeCpp11BracedList: true |
| 258 | +SpaceBeforeCaseColon: false |
| 259 | +SpaceBeforeCpp11BracedList: false |
| 260 | +SpaceBeforeCtorInitializerColon: true |
| 261 | +SpaceBeforeInheritanceColon: true |
| 262 | +SpaceBeforeJsonColon: false |
101 | 263 | SpaceBeforeParens: ControlStatements |
102 | | -SpaceInEmptyParentheses: false |
103 | | -SpacesBeforeTrailingComments: 1 |
104 | | -SpacesInAngles: false |
| 264 | +SpaceBeforeParensOptions: |
| 265 | + AfterControlStatements: true |
| 266 | + AfterForeachMacros: true |
| 267 | + AfterFunctionDeclarationName: false |
| 268 | + AfterFunctionDefinitionName: false |
| 269 | + AfterIfMacros: true |
| 270 | + AfterOverloadedOperator: false |
| 271 | + AfterPlacementOperator: true |
| 272 | + AfterRequiresInClause: false |
| 273 | + AfterRequiresInExpression: false |
| 274 | + BeforeNonEmptyParentheses: false |
| 275 | +SpaceBeforeRangeBasedForLoopColon: true |
| 276 | +SpaceBeforeSquareBrackets: false |
| 277 | +SpaceInEmptyBlock: false |
| 278 | +SpacesBeforeTrailingComments: 2 |
| 279 | +SpacesInAngles: Never |
105 | 280 | SpacesInContainerLiterals: true |
106 | | -SpacesInCStyleCastParentheses: false |
107 | | -SpacesInParentheses: false |
| 281 | +SpacesInLineCommentPrefix: |
| 282 | + Minimum: 1 |
| 283 | + Maximum: -1 |
| 284 | +SpacesInParens: Never |
| 285 | +SpacesInParensOptions: |
| 286 | + ExceptDoubleParentheses: false |
| 287 | + InConditionalStatements: false |
| 288 | + InCStyleCasts: false |
| 289 | + InEmptyParentheses: false |
| 290 | + Other: false |
108 | 291 | SpacesInSquareBrackets: false |
109 | | -Standard: Cpp11 |
110 | | -TabWidth: 8 |
111 | | -UseTab: Never |
112 | | ---- |
113 | | -Language: ObjC |
114 | | -PointerAlignment: Right |
115 | | -... |
| 292 | +Standard: Auto |
| 293 | +StatementAttributeLikeMacros: |
| 294 | + - Q_EMIT |
| 295 | +StatementMacros: |
| 296 | + - Q_UNUSED |
| 297 | + - QT_REQUIRE_VERSION |
| 298 | +TabWidth: 8 |
| 299 | +TableGenBreakInsideDAGArg: DontBreak |
| 300 | +UseTab: Never |
| 301 | +VerilogBreakBetweenInstancePorts: true |
| 302 | +WhitespaceSensitiveMacros: |
| 303 | + - BOOST_PP_STRINGIZE |
| 304 | + - CF_SWIFT_NAME |
| 305 | + - NS_SWIFT_NAME |
| 306 | + - PP_STRINGIZE |
| 307 | + - STRINGIZE |
0 commit comments