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