|
1 | | ---- |
2 | | -BasedOnStyle: Microsoft |
3 | | -AlignAfterOpenBracket: DontAlign |
4 | | -AlignConsecutiveMacros: 'false' |
5 | | -AlignConsecutiveAssignments: 'false' |
6 | | -AlignConsecutiveDeclarations: 'false' |
7 | | -AlignEscapedNewlines: Left |
8 | | -AlignOperands: 'false' |
9 | | -AlignTrailingComments: 'false' |
10 | | -AllowAllArgumentsOnNextLine: 'true' |
11 | | -AllowAllConstructorInitializersOnNextLine: 'true' |
12 | | -AllowAllParametersOfDeclarationOnNextLine: 'true' |
13 | | -AllowShortBlocksOnASingleLine: 'true' |
14 | | -AllowShortCaseLabelsOnASingleLine: 'true' |
15 | | -AllowShortFunctionsOnASingleLine: All |
16 | | -AllowShortIfStatementsOnASingleLine: WithoutElse |
| 1 | +--- |
| 2 | +Language: Cpp |
| 3 | +# BasedOnStyle: Microsoft |
| 4 | +AccessModifierOffset: -2 |
| 5 | +AlignAfterOpenBracket: BlockIndent |
| 6 | +AlignArrayOfStructures: None |
| 7 | +AlignConsecutiveAssignments: |
| 8 | + Enabled: false |
| 9 | + AcrossEmptyLines: false |
| 10 | + AcrossComments: false |
| 11 | + AlignCompound: false |
| 12 | + PadOperators: true |
| 13 | +AlignConsecutiveBitFields: |
| 14 | + Enabled: false |
| 15 | + AcrossEmptyLines: false |
| 16 | + AcrossComments: false |
| 17 | + AlignCompound: false |
| 18 | + PadOperators: false |
| 19 | +AlignConsecutiveDeclarations: |
| 20 | + Enabled: false |
| 21 | + AcrossEmptyLines: false |
| 22 | + AcrossComments: false |
| 23 | + AlignCompound: false |
| 24 | + PadOperators: false |
| 25 | +AlignConsecutiveMacros: |
| 26 | + Enabled: false |
| 27 | + AcrossEmptyLines: false |
| 28 | + AcrossComments: false |
| 29 | + AlignCompound: false |
| 30 | + PadOperators: false |
| 31 | +AlignEscapedNewlines: Right |
| 32 | +AlignOperands: Align |
| 33 | +AlignTrailingComments: true |
| 34 | +AllowAllArgumentsOnNextLine: true |
| 35 | +AllowAllParametersOfDeclarationOnNextLine: true |
| 36 | +AllowShortEnumsOnASingleLine: false |
| 37 | +AllowShortBlocksOnASingleLine: Never |
| 38 | +AllowShortCaseLabelsOnASingleLine: false |
| 39 | +AllowShortFunctionsOnASingleLine: None |
17 | 40 | AllowShortLambdasOnASingleLine: All |
18 | | -AllowShortLoopsOnASingleLine: 'true' |
19 | | -AlwaysBreakBeforeMultilineStrings: 'false' |
20 | | -AlwaysBreakTemplateDeclarations: 'Yes' |
21 | | -BinPackArguments: 'false' |
22 | | -BinPackParameters: 'false' |
23 | | -BreakBeforeBraces: Attach |
24 | | -BreakBeforeTernaryOperators: 'true' |
25 | | -BreakConstructorInitializers: BeforeComma |
| 41 | +AllowShortIfStatementsOnASingleLine: Never |
| 42 | +AllowShortLoopsOnASingleLine: false |
| 43 | +AlwaysBreakAfterDefinitionReturnType: None |
| 44 | +AlwaysBreakAfterReturnType: None |
| 45 | +AlwaysBreakBeforeMultilineStrings: false |
| 46 | +AlwaysBreakTemplateDeclarations: Yes |
| 47 | +AttributeMacros: |
| 48 | + - __capability |
| 49 | +BinPackArguments: false |
| 50 | +BinPackParameters: false |
| 51 | +BraceWrapping: |
| 52 | + AfterCaseLabel: false |
| 53 | + AfterClass: false |
| 54 | + AfterControlStatement: MultiLine |
| 55 | + AfterEnum: false |
| 56 | + AfterFunction: false |
| 57 | + AfterNamespace: false |
| 58 | + AfterObjCDeclaration: false |
| 59 | + AfterStruct: false |
| 60 | + AfterUnion: false |
| 61 | + AfterExternBlock: false |
| 62 | + BeforeCatch: false |
| 63 | + BeforeElse: false |
| 64 | + BeforeLambdaBody: false |
| 65 | + BeforeWhile: false |
| 66 | + IndentBraces: false |
| 67 | + SplitEmptyFunction: false |
| 68 | + SplitEmptyRecord: false |
| 69 | + SplitEmptyNamespace: false |
| 70 | +BreakBeforeBinaryOperators: NonAssignment |
| 71 | +BreakBeforeConceptDeclarations: Always |
| 72 | +BreakBeforeBraces: Custom |
| 73 | +BreakBeforeInheritanceComma: false |
26 | 74 | BreakInheritanceList: BeforeComma |
27 | | -ColumnLimit: '0' |
28 | | -CompactNamespaces: 'false' |
29 | | -ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' |
30 | | -ConstructorInitializerIndentWidth: '4' |
31 | | -ContinuationIndentWidth: '4' |
32 | | -DerivePointerAlignment: 'false' |
33 | | -FixNamespaceComments: 'true' |
34 | | -IncludeBlocks: Preserve |
35 | | -IndentCaseLabels: 'true' |
| 75 | +BreakBeforeTernaryOperators: true |
| 76 | +BreakConstructorInitializersBeforeComma: true |
| 77 | +BreakConstructorInitializers: BeforeComma |
| 78 | +BreakAfterJavaFieldAnnotations: false |
| 79 | +BreakStringLiterals: true |
| 80 | +ColumnLimit: 120 |
| 81 | +CommentPragmas: '^ IWYU pragma:' |
| 82 | +QualifierAlignment: Right |
| 83 | +CompactNamespaces: false |
| 84 | +ConstructorInitializerIndentWidth: 4 |
| 85 | +ContinuationIndentWidth: 4 |
| 86 | +Cpp11BracedListStyle: true |
| 87 | +DeriveLineEnding: true |
| 88 | +DerivePointerAlignment: false |
| 89 | +DisableFormat: false |
| 90 | +EmptyLineAfterAccessModifier: Never |
| 91 | +EmptyLineBeforeAccessModifier: LogicalBlock |
| 92 | +ExperimentalAutoDetectBinPacking: false |
| 93 | +PackConstructorInitializers: CurrentLine |
| 94 | +BasedOnStyle: '' |
| 95 | +ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 96 | +AllowAllConstructorInitializersOnNextLine: true |
| 97 | +FixNamespaceComments: true |
| 98 | +ForEachMacros: |
| 99 | + - foreach |
| 100 | + - Q_FOREACH |
| 101 | + - BOOST_FOREACH |
| 102 | +IfMacros: |
| 103 | + - KJ_IF_MAYBE |
| 104 | +IncludeBlocks: Preserve |
| 105 | +IncludeCategories: |
| 106 | + - Regex: '^"(llvm|llvm-c|clang|clang-c)/' |
| 107 | + Priority: 2 |
| 108 | + SortPriority: 0 |
| 109 | + CaseSensitive: false |
| 110 | + - Regex: '^(<|"(gtest|gmock|isl|json)/)' |
| 111 | + Priority: 3 |
| 112 | + SortPriority: 0 |
| 113 | + CaseSensitive: false |
| 114 | + - Regex: '.*' |
| 115 | + Priority: 1 |
| 116 | + SortPriority: 0 |
| 117 | + CaseSensitive: false |
| 118 | +IncludeIsMainRegex: '(Test)?$' |
| 119 | +IncludeIsMainSourceRegex: '' |
| 120 | +IndentAccessModifiers: false |
| 121 | +IndentCaseLabels: false |
| 122 | +IndentCaseBlocks: false |
| 123 | +IndentGotoLabels: true |
36 | 124 | IndentPPDirectives: AfterHash |
37 | | -IndentWidth: '4' |
38 | | -IndentWrappedFunctionNames: 'false' |
39 | | -KeepEmptyLinesAtTheStartOfBlocks: 'false' |
40 | | -Language: Cpp |
41 | | -MaxEmptyLinesToKeep: '1' |
| 125 | +IndentExternBlock: AfterExternBlock |
| 126 | +IndentRequiresClause: true |
| 127 | +IndentWidth: 4 |
| 128 | +IndentWrappedFunctionNames: false |
| 129 | +InsertBraces: false |
| 130 | +InsertTrailingCommas: None |
| 131 | +JavaScriptQuotes: Leave |
| 132 | +JavaScriptWrapImports: true |
| 133 | +KeepEmptyLinesAtTheStartOfBlocks: false |
| 134 | +LambdaBodyIndentation: Signature |
| 135 | +MacroBlockBegin: '' |
| 136 | +MacroBlockEnd: '' |
| 137 | +MaxEmptyLinesToKeep: 1 |
42 | 138 | NamespaceIndentation: All |
| 139 | +ObjCBinPackProtocolList: Auto |
| 140 | +ObjCBlockIndentWidth: 2 |
| 141 | +ObjCBreakBeforeNestedBlockParam: true |
| 142 | +ObjCSpaceAfterProperty: false |
| 143 | +ObjCSpaceBeforeProtocolList: true |
| 144 | +PenaltyBreakAssignment: 10 |
| 145 | +PenaltyBreakBeforeFirstCallParameter: 0 |
| 146 | +PenaltyBreakComment: 300 |
| 147 | +PenaltyBreakFirstLessLess: 0 |
| 148 | +PenaltyBreakOpenParenthesis: 0 |
| 149 | +PenaltyBreakString: 1000 |
| 150 | +PenaltyBreakTemplateDeclaration: 10 |
| 151 | +PenaltyExcessCharacter: 5 |
| 152 | +PenaltyReturnTypeOnItsOwnLine: 1000 |
| 153 | +PenaltyIndentedWhitespace: 5 |
43 | 154 | PointerAlignment: Left |
44 | | -SpaceAfterCStyleCast: 'false' |
45 | | -SpaceAfterLogicalNot: 'false' |
46 | | -SpaceAfterTemplateKeyword: 'false' |
47 | | -SpaceBeforeAssignmentOperators: 'true' |
48 | | -SpaceBeforeCpp11BracedList: 'false' |
49 | | -SpaceBeforeCtorInitializerColon: 'true' |
50 | | -SpaceBeforeInheritanceColon: 'true' |
51 | | -SpaceBeforeParens: ControlStatements |
52 | | -SpaceBeforeRangeBasedForLoopColon: 'false' |
53 | | -SpaceInEmptyParentheses: 'false' |
54 | | -SpacesInAngles: 'false' |
55 | | -SpacesInCStyleCastParentheses: 'false' |
56 | | -SpacesInContainerLiterals: 'false' |
57 | | -SpacesInParentheses: 'false' |
58 | | -SpacesInSquareBrackets: 'false' |
59 | | -Standard: Cpp11 |
60 | | -TabWidth: '4' |
61 | | -UseTab: Always |
| 155 | +PPIndentWidth: 1 |
| 156 | +ReferenceAlignment: Pointer |
| 157 | +ReflowComments: true |
| 158 | +RemoveBracesLLVM: false |
| 159 | +RequiresClausePosition: OwnLine |
| 160 | +SeparateDefinitionBlocks: Leave |
| 161 | +ShortNamespaceLines: 1 |
| 162 | +SortIncludes: Never |
| 163 | +SortJavaStaticImport: Before |
| 164 | +SortUsingDeclarations: true |
| 165 | +SpaceAfterCStyleCast: false |
| 166 | +SpaceAfterLogicalNot: false |
| 167 | +SpaceAfterTemplateKeyword: false |
| 168 | +SpaceBeforeAssignmentOperators: true |
| 169 | +SpaceBeforeCaseColon: false |
| 170 | +SpaceBeforeCpp11BracedList: false |
| 171 | +SpaceBeforeCtorInitializerColon: true |
| 172 | +SpaceBeforeInheritanceColon: true |
| 173 | +SpaceBeforeParens: Never |
| 174 | +SpaceBeforeParensOptions: |
| 175 | + AfterControlStatements: false |
| 176 | + AfterForeachMacros: false |
| 177 | + AfterFunctionDefinitionName: false |
| 178 | + AfterFunctionDeclarationName: false |
| 179 | + AfterIfMacros: false |
| 180 | + AfterOverloadedOperator: false |
| 181 | + AfterRequiresInClause: false |
| 182 | + AfterRequiresInExpression: false |
| 183 | + BeforeNonEmptyParentheses: false |
| 184 | +SpaceAroundPointerQualifiers: Default |
| 185 | +SpaceBeforeRangeBasedForLoopColon: true |
| 186 | +SpaceInEmptyBlock: false |
| 187 | +SpaceInEmptyParentheses: false |
| 188 | +SpacesBeforeTrailingComments: 1 |
| 189 | +SpacesInAngles: Never |
| 190 | +SpacesInConditionalStatement: false |
| 191 | +SpacesInContainerLiterals: false |
| 192 | +SpacesInCStyleCastParentheses: false |
| 193 | +SpacesInLineCommentPrefix: |
| 194 | + Minimum: 1 |
| 195 | + Maximum: -1 |
| 196 | +SpacesInParentheses: false |
| 197 | +SpacesInSquareBrackets: false |
| 198 | +SpaceBeforeSquareBrackets: false |
| 199 | +BitFieldColonSpacing: Both |
| 200 | +Standard: Latest |
| 201 | +StatementAttributeLikeMacros: |
| 202 | + - Q_EMIT |
| 203 | +StatementMacros: |
| 204 | + - Q_UNUSED |
| 205 | + - QT_REQUIRE_VERSION |
| 206 | +TabWidth: 4 |
| 207 | +UseCRLF: false |
| 208 | +UseTab: Always |
| 209 | +WhitespaceSensitiveMacros: |
| 210 | + - STRINGIZE |
| 211 | + - PP_STRINGIZE |
| 212 | + - BOOST_PP_STRINGIZE |
| 213 | + - NS_SWIFT_NAME |
| 214 | + - CF_SWIFT_NAME |
| 215 | + - switch_no_default |
62 | 216 |
|
63 | | -... |
|
0 commit comments