diff options
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 51 |
1 files changed, 39 insertions, 12 deletions
diff --git a/.clang-format b/.clang-format index b421ab3..b00e918 100644 --- a/.clang-format +++ b/.clang-format @@ -1,22 +1,48 @@ --- AccessModifierOffset: -4 AlignAfterOpenBracket: DontAlign -AlignConsecutiveAssignments: None -AlignConsecutiveBitFields: None -AlignConsecutiveDeclarations: None -AlignConsecutiveMacros: Consecutive +AlignConsecutiveAssignments: + Enabled: false + AcrossEmptyLines: false + AcrossComments: false + AlignCompound: false + AlignFunctionPointers: false + PadOperators: true +AlignConsecutiveBitFields: + Enabled: false + AcrossEmptyLines: false + AcrossComments: false + AlignCompound: false + AlignFunctionPointers: false + PadOperators: true +AlignConsecutiveDeclarations: + Enabled: false + AcrossEmptyLines: false + AcrossComments: false + AlignCompound: false + AlignFunctionPointers: false + PadOperators: true +AlignConsecutiveMacros: + Enabled: true + AcrossEmptyLines: false + AcrossComments: false + AlignCompound: false + AlignFunctionPointers: false + PadOperators: true AlignEscapedNewlines: Left -AlignOperands: Align +AlignOperands: true +PenaltyBreakAssignment: 21 +PenaltyBreakBeforeFirstCallParameter: 21 AlignTrailingComments: Kind: Always OverEmptyLines: 0 AllowAllArgumentsOnNextLine: true -AllowAllConstructorInitializersOnNextLine: true -AllowAllParametersOfDeclarationOnNextLine: true +AllowAllConstructorInitializersOnNextLine: false +AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: Never AllowShortCaseLabelsOnASingleLine: false AllowShortLambdasOnASingleLine: false -AllowShortEnumsOnASingleLine: true +AllowShortEnumsOnASingleLine: false AllowShortFunctionsOnASingleLine: None AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false @@ -24,8 +50,8 @@ AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: Yes -BinPackArguments: false -BinPackParameters: false +BinPackArguments: true +BinPackParameters: true BraceWrapping: AfterCaseLabel: false AfterClass: false @@ -33,7 +59,7 @@ BraceWrapping: AfterEnum: false AfterFunction: true AfterNamespace: true - AfterObjCDeclaration: true + AfterObjCDeclaration: false AfterStruct: false AfterUnion: false AfterExternBlock: false @@ -48,11 +74,12 @@ BraceWrapping: BreakBeforeBinaryOperators: NonAssignment BreakBeforeBraces: Custom BreakBeforeInheritanceComma: false +BreakFunctionDefinitionParameters: false BreakInheritanceList: BeforeColon BreakBeforeConceptDeclarations: true BreakBeforeTernaryOperators: true BreakConstructorInitializers: BeforeColon -ColumnLimit: 180 +ColumnLimit: 140 CompactNamespaces: false ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 4 |
