diff options
author | Gregory Fong <gregory.0xf0@gmail.com> | 2022-05-16 10:08:24 +0200 |
---|---|---|
committer | Marek Kurdej <marek.kurdej+llvm.org@gmail.com> | 2022-05-16 10:25:06 +0200 |
commit | e57f57841fbb0cd1d1dbd3237c2cbe6ce15984dd (patch) | |
tree | a3647a6c4be0376589f048299c3d1e346223cb54 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 106e63ce47b5b00e376be9eef03a084c71c03f11 (diff) | |
download | llvm-e57f57841fbb0cd1d1dbd3237c2cbe6ce15984dd.zip llvm-e57f57841fbb0cd1d1dbd3237c2cbe6ce15984dd.tar.gz llvm-e57f57841fbb0cd1d1dbd3237c2cbe6ce15984dd.tar.bz2 |
[clang-format] fix alignment w/o binpacked args
The combination of
- AlignConsecutiveAssignments.Enabled = true
- BinPackArguments = false
would result in the first continuation line of a braced-init-list being
improperly indented (missing a shift) when in a continued function call.
Indentation was also wrong for braced-init-lists continuing a
direct-list-initialization. Check for opening braced lists in
continuation and ensure that the correct shift occurs.
Fixes https://github.com/llvm/llvm-project/issues/55360
Reviewed By: curdeius
Differential Revision: https://reviews.llvm.org/D125162
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions