diff --git a/.clang-format b/.clang-format index e599846d..ccf13285 100644 --- a/.clang-format +++ b/.clang-format @@ -12,24 +12,24 @@ AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: None -AllowShortIfStatementsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: true -BinPackArguments: false +BinPackArguments: true BinPackParameters: true BreakBeforeBinaryOperators: None BreakBeforeBraces: Allman BreakBeforeTernaryOperators: false -BreakConstructorInitializers: AfterColon +#BreakConstructorInitializers: BeforeColon BreakInheritanceList: AfterColon BreakStringLiterals: true ColumnLimit: 120 CompactNamespaces: true ConstructorInitializerAllOnOneLineOrOnePerLine: false -ConstructorInitializerIndentWidth: 8 +ConstructorInitializerIndentWidth: 1 ContinuationIndentWidth: 8 Cpp11BracedListStyle: true DerivePointerAlignment: false