|
| 1 | +--- |
| 2 | +Language: Cpp |
| 3 | + |
| 4 | +# Indentation |
| 5 | +UseTab: Never |
| 6 | +IndentWidth: 4 |
| 7 | +BreakBeforeBraces: Attach |
| 8 | +IndentCaseLabels: false |
| 9 | +NamespaceIndentation: None |
| 10 | +ContinuationIndentWidth: 4 |
| 11 | +IndentPPDirectives: None |
| 12 | +IndentWrappedFunctionNames: false |
| 13 | +AccessModifierOffset: -2 |
| 14 | + |
| 15 | +# Alignment |
| 16 | +AlignAfterOpenBracket: BlockIndent |
| 17 | +AlignConsecutiveAssignments: false |
| 18 | +AlignConsecutiveDeclarations: false |
| 19 | +AlignConsecutiveMacros: false |
| 20 | +AlignEscapedNewlines: Left |
| 21 | +AlignOperands: false |
| 22 | +AlignTrailingComments: true |
| 23 | +DerivePointerAlignment: false |
| 24 | +PointerAlignment: Right |
| 25 | + |
| 26 | +# Function calls formatting |
| 27 | +BinPackArguments: false |
| 28 | +BinPackParameters: false |
| 29 | +AllowAllArgumentsOnNextLine: false |
| 30 | +ExperimentalAutoDetectBinPacking: false |
| 31 | +PenaltyBreakBeforeFirstCallParameter: 1 |
| 32 | +AlwaysBreakAfterDefinitionReturnType: None |
| 33 | + |
| 34 | +# Wrapping and Breaking |
| 35 | +ColumnLimit: 0 |
| 36 | +AllowShortBlocksOnASingleLine: Never |
| 37 | +AllowShortCaseLabelsOnASingleLine: false |
| 38 | +AllowShortFunctionsOnASingleLine: All |
| 39 | +AllowShortIfStatementsOnASingleLine: Always |
| 40 | +AllowShortLoopsOnASingleLine: false |
| 41 | +AlwaysBreakAfterReturnType: None |
| 42 | +AlwaysBreakBeforeMultilineStrings: false |
| 43 | +AlwaysBreakTemplateDeclarations: No |
| 44 | +BreakBeforeBinaryOperators: None |
| 45 | +BreakBeforeTernaryOperators: false |
| 46 | +BreakConstructorInitializers: BeforeColon |
| 47 | +BreakInheritanceList: BeforeColon |
| 48 | +BreakStringLiterals: false |
| 49 | +CompactNamespaces: false |
| 50 | +ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 51 | +Cpp11BracedListStyle: false |
| 52 | +ReflowComments: false |
| 53 | +SortIncludes: Never |
| 54 | + |
| 55 | +# Spaces |
| 56 | +SpaceAfterCStyleCast: true |
| 57 | +SpaceAfterLogicalNot: false |
| 58 | +SpaceAfterTemplateKeyword: true |
| 59 | +SpaceBeforeAssignmentOperators: true |
| 60 | +SpaceBeforeCpp11BracedList: true |
| 61 | +SpaceBeforeCtorInitializerColon: true |
| 62 | +SpaceBeforeInheritanceColon: true |
| 63 | +SpaceBeforeParens: ControlStatements |
| 64 | +SpaceBeforeRangeBasedForLoopColon: true |
| 65 | +SpaceBeforeSquareBrackets: false |
| 66 | +SpaceInEmptyBlock: false |
| 67 | +SpaceInEmptyParentheses: false |
| 68 | +SpacesBeforeTrailingComments: 1 |
| 69 | +SpacesInAngles: false |
| 70 | +SpacesInCStyleCastParentheses: false |
| 71 | +SpacesInConditionalStatement: false |
| 72 | +SpacesInContainerLiterals: true |
| 73 | +SpacesInParentheses: false |
| 74 | +SpacesInSquareBrackets: false |
0 commit comments