[clang-format] AlignArrayOfStructures ignores Cpp11BracedListStyle #57611
Closed
Description
$ clang-format --version
clang-format version 15.0.0
$ echo "auto x = { { a, b }, { c, d } }" | clang-format --style="{ Cpp11BracedListStyle: false, AlignArrayOfStructures: Left }"
auto x = {
{a, b},
{ c, d}
}Note the inconsistent spacing before a and c
With Cpp11BracedListStyle: false I'd expect the following, with spaces both before and after the curlies
auto x = {
{ a, b },
{ c, d }
}
Activity