<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57878>57878</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] `AlignAfterOpenBracket = BlockIndent` doesn't affect braced lists when `Cpp11BracedListStyle = true`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          jgcodes2020
      </td>
    </tr>
</table>

<pre>
    The documentation states the following:
> Fundamentally, C++11 braced lists are formatted exactly like function calls would be formatted in their place. If the braced list follows a name (e.g. a type or variable name), clang-format formats as if the {} were the parentheses of a function call with that name. If there is no name, a zero-length name is assumed.

When setting `AlignAfterOpenBracket = BlockIndent`, functions that can't fit on one line become:
```c++
my_function(
  my_long_parameter_1,
  my_long_parameter_2,
  my_long_parameter_3,
  my_long_parameter_4,
);
```

If the documentation is actually correct, then setting `Cpp11BracedListStyle = true` should make braced lists look like:
```c++
  constexpr uint32_t cts[64] = {
    my_really_extremely_long_1st_value,
    my_really_extremely_long_2nd_value,
    my_really_extremely_long_3rd_value,
    my_really_extremely_long_4th_value
  };
```

Instead, it does this:
```c++
  constexpr uint32_t cts[64] = {
    my_really_extremely_long_1st_value,
    my_really_extremely_long_2nd_value,
    my_really_extremely_long_3rd_value,
    my_really_extremely_long_4th_value};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzlVE1v2zAM_TXyRWhgy04cH3xI0hUoMGCHDdgxkGXaUaNIhiQ3zX79KMXtkmLrx3mAYFsizff4SLEx7an-sQPaGjEeQHvupdHU4Rsc9WjojFLmKHVP8hVJb0m6IvkXejfqlkd_pU6EbeiGsDWuLKON5QJaqqTzjnIbItgD9x7P4IkLr05o2-PxqEUEExjD0aMZVUubS3epAwNp6aAw5Ized5HRBcDEDnGoRjqUsCXM-hlu_WkAaix95FbyRkG0E1YFrkJx3d-ccSY4jOCoPMcn5ZqUt_QIyD3sB0xC44dDRUyHsa-Y06P0O_TDUAHimSX-Kx3VZsLd4G-_wJobBbpH_8hWBlSHsrezSdn4_LkDrAB4j6JTskhXSvZ61Xmw3wbQa8x-D56S_JaulRH7e90iPfQLKM_U3JmR4JqwEpOUniJfowFlw0cDwiCtl4riz3GJcxXPp4fT9jkc6no-oxRPldH9FlXBHJDUNkPgf1vZm9b8TWvxYg2Vy9ev2F6KNvXGdRsHgYUfQ49SYawF4YNI_pXAm2HIsnXsqq_YVN_9Cfsl6OvtCGinbheb88D3cN3eyph97OZ3pKQIr52Hp8HSUWqfsy0WxzsyXy8KMr-NaKHvJu8ohoVAfAtP3sIB1KRO5vz2kasRLpR7w53p9jPuuf2Ue-F3k_vkixfnnToFGXgbyoA92Zo4ZaT77_X7m24J1NlikZdlsSiqpK3ztsornnjpFdSY-uUciyJ8fFZE5c-zgXcd3ovrvj6GG_KBm5GMVtU774dYQHaHq8dxODYznC-4Uerx-XUzWPMQL-CdxKEHDj_m5bJcJruaM-gKUXLWzPOm4FVVQFdBKxbLecrzRZYo3oByIWfCmIYjjSHwG9NOZM1SxtKKZdk8L1k1S9tyziBbgii6vGobUqRw4FLNAo-ZsX1i60ipGXuHxpjzHyPOZBQRosQhPh_9ztj6oRemBYdYaRLh60j_N2zfWMg">