diff --git a/.clang-format b/.clang-format index d77f4ec8..9480a68e 100644 --- a/.clang-format +++ b/.clang-format @@ -5,7 +5,9 @@ AlignConsecutiveDeclarations: Consecutive AlignConsecutiveMacros: Consecutive AlignEscapedNewlines: Right AlignOperands: false -AlignTrailingComments: true +AlignTrailingComments: + Kind: Always + OverEmptyLines: 1 AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: Empty AllowShortCaseLabelsOnASingleLine: true @@ -14,7 +16,7 @@ AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false -AlwaysBreakTemplateDeclarations: Yes +BreakTemplateDeclarations: Yes BinPackArguments: true BinPackParameters: true BreakBeforeBinaryOperators: None @@ -23,8 +25,8 @@ BreakBeforeInheritanceComma: false BreakBeforeTernaryOperators: true BreakConstructorInitializers: BeforeColon BreakStringLiterals: true -ColumnLimit: 160 -ConstructorInitializerAllOnOneLineOrOnePerLine: true +ColumnLimit: 200 +PackConstructorInitializers: Never ConstructorInitializerIndentWidth: 2 ContinuationIndentWidth: 4 Cpp11BracedListStyle: true