| # Copyright (C) The c-ares project and its contributors |
| # SPDX-License-Identifier: MIT |
| --- |
| Language: Cpp |
| |
| # ------- |
| # These are the most likely ones you might want to edit |
| ColumnLimit: 80 |
| BracedInitializerIndentWidth: 2 |
| ContinuationIndentWidth: 2 |
| ConstructorInitializerIndentWidth: 2 |
| PPIndentWidth: 2 |
| IndentWidth: 2 |
| MaxEmptyLinesToKeep: 2 |
| TabWidth: 2 |
| UseTab: Never |
| # -------- |
| |
| BasedOnStyle: LLVM |
| AlignAfterOpenBracket: Align |
| AlignArrayOfStructures: Left |
| AlignConsecutiveAssignments: |
| Enabled: true |
| AcrossEmptyLines: false |
| AcrossComments: false |
| AlignCompound: true |
| PadOperators: true |
| AlignConsecutiveBitFields: Consecutive |
| AlignConsecutiveDeclarations: AcrossEmptyLinesAndComments |
| AlignConsecutiveMacros: Consecutive |
| AlignEscapedNewlines: Left |
| AlignOperands: Align |
| AlignTrailingComments: |
| Kind: Always |
| OverEmptyLines: 1 |
| AllowAllArgumentsOnNextLine: false |
| AllowAllParametersOfDeclarationOnNextLine: false |
| AllowShortBlocksOnASingleLine: Never |
| AllowShortCaseLabelsOnASingleLine: false |
| AllowShortEnumsOnASingleLine: false |
| AllowShortFunctionsOnASingleLine: None |
| AllowShortIfStatementsOnASingleLine: Never |
| AllowShortLoopsOnASingleLine: false |
| AlwaysBreakAfterReturnType: None |
| AlwaysBreakBeforeMultilineStrings: false |
| BinPackArguments: true |
| BinPackParameters: true |
| BitFieldColonSpacing: Both |
| BreakBeforeBraces: Custom |
| BraceWrapping: |
| AfterCaseLabel: true |
| AfterControlStatement: Never |
| AfterEnum: false |
| AfterFunction: true |
| AfterStruct: false |
| AfterUnion: false |
| AfterExternBlock: false |
| BeforeElse: false |
| BeforeWhile: false |
| SplitEmptyFunction: true |
| BreakBeforeBinaryOperators: None |
| BreakBeforeTernaryOperators: true |
| BreakStringLiterals: true |
| Cpp11BracedListStyle: false |
| IncludeBlocks: Preserve |
| IndentCaseBlocks: true |
| IndentCaseLabels: true |
| IndentGotoLabels: false |
| IndentPPDirectives: AfterHash |
| IndentWrappedFunctionNames: true |
| InsertBraces: true |
| InsertNewlineAtEOF: true |
| InsertTrailingCommas: None |
| KeepEmptyLinesAtEOF: false |
| KeepEmptyLinesAtTheStartOfBlocks: false |
| LineEnding: LF |
| PackConstructorInitializers: BinPack |
| PointerAlignment: Right |
| QualifierAlignment: Leave |
| ReferenceAlignment: Pointer |
| ReflowComments: true |
| RemoveBracesLLVM: false |
| RemoveParentheses: Leave |
| RemoveSemicolon: true |
| SeparateDefinitionBlocks: Always |
| SortIncludes: Never |
| SpaceAfterCStyleCast: false |
| SpaceAroundPointerQualifiers: Before |
| SpaceBeforeAssignmentOperators: true |
| SpaceBeforeCaseColon: false |
| SpaceBeforeParens: ControlStatements |
| SpaceBeforeSquareBrackets: false |
| SpaceInEmptyBlock: false |
| SpaceInEmptyParentheses: false |
| SpacesBeforeTrailingComments: 2 |
| SpacesInParens: Never |
| SpacesInSquareBrackets: false |