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