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