diff --git a/.clang-format b/.clang-format index 33de25e..7037a96 100644 --- a/.clang-format +++ b/.clang-format @@ -12,10 +12,10 @@ Standard: c++17 AccessModifierOffset: -4 # Force pointers to the type for C++. DerivePointerAlignment: false -PointerAlignment: Left +PointerAlignment: Right # Use 100 columns ColumnLimit: 120 -AlignConsecutiveStyle: Consecutive +AlignConsecutiveAssignments: Consecutive AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: Never AlwaysBreakAfterReturnType: None @@ -30,4 +30,6 @@ IndentAccessModifiers: false ReferenceAlignment: Right BreakConstructorInitializers: AfterColon AlignArrayOfStructures: Right +PackConstructorInitializers: CurrentLine +AlignConsecutiveMacros: true ...