<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64928>64928</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Wrong indentation in templates with AlignConsecutiveAssignments
</td>
</tr>
<tr>
<th>Labels</th>
<td>
bug,
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
HazardyKnusperkeks
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
HazardyKnusperkeks
</td>
</tr>
</table>
<pre>
With `AlignConsecutiveAssignments` on and a `ColumnLimit` of 60 the code
```c++
using II = typename TI<T, std::tuple<Types...>>::I;
using I = std::conditional_t<II::value >= 0,
std::ic<int, II::value + 1>,
std::ic<int, -1>>;
```
gets misformatted to
```c++
using II = typename TI<T, std::tuple<Types...>>::I;
using I = std::conditional_t<II::value >= 0,
std::ic<int, II::value + 1>,
std::ic<int, -1>>;
````
Notice the missing space (from the alignment).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUlFGPmzAMxz-NeYmKQkIpPPDQ0lWrNu3ppHucQnBpdiFBxNzUffoptHfT3aZK29uqqAgb_2T_Y1uFYHqHWMN6B0J8VD_U1F0-uTmMOD3hUwAhYL1P1ExnP9W_-5PWd5f60dCZQcG31vSu8S6gnsk843bBD-goQMGZd0y5jqn4aePtPLjPZjC0uE6s4IzOyLTvEPge-BYKfj0axC6exToH43p2PDKQe0aXEZ0akD0cQTYPIBoWqAO5BbmlebQYrZcRQ5qmID8sJ_qOIN_i2IJ7jdXedYaMd8p-JZDN8Xi1Pys7I1swe8ZBNFcIu_t7pRoNsjGOYprviGLHsoh9Jf4xaJW9FLF7J9H1tUcKbDDh5KdBEWHHyP93Wv6TXH-t_x0pX9S8_n_xZDQurTmYsFQYRqVjEuVp8sPiUfbW5yCqNOlq2VWyUgnWWVGJTVmJKk_OdZVLzIpTqbNCcSF5VZUd8jVWelO1m7ZMTC2ivRQyy7J8nadCb3TbSc5ldRKi3UDOcVDGptY-D6mf-sSEMGNd5JUoE6tatOE2y-3cx-EVDQihrXL96toVt4me6ohYtXMfIOfWBAq_oGTILjvhTeB6zx4n73pmXIeOVLxTZhwjHEarCAP7HvfAnSWQzJOtz0RjiBciDiAOvaHz3KbaDyAOMYHbYzVO_htqAnFYSgwgDkuVPwMAAP__BGdbhg">