<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58707>58707</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Format] Spaces added to align assignment shouldn't affect further indentation
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JohelEGP
</td>
</tr>
</table>
<pre>
`.clang-format`:
```yaml
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: Consecutive
ColumnLimit: 120
ContinuationIndentWidth: 2
```
Input and expected output:
```C++
inline constexpr quantity rotational_frequency = {.symbol = "n", .derived = [] { return rotation / time; }};
inline constexpr quantity phase_velocity = {
.symbol = "c", .derived = [] { return angular_frequency / angular_repetency; }};
inline constexpr quantity logarithmic_decrement = {
.symbol = "Λ", .derived = [] { return damping_coefficient * period_duration; }};
```
Actual output:
```C++
inline constexpr quantity rotational_frequency = {.symbol = "n", .derived = [] { return rotation / time; }};
inline constexpr quantity phase_velocity = {
.symbol = "c", .derived = [] { return angular_frequency / angular_repetency; }};
inline constexpr quantity logarithmic_decrement = {
.symbol = "Λ", .derived = [] { return damping_coefficient * period_duration; }};
```
The 6 spaces between `phase_velocity` and `= {` added to align the assignment operators are also added as indentation after the line break.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJztlEtvnDAQxz8NXKwgHruQPXBgN0mVqlIrtVKPK2MP4MbYxI-k--07mGy63UZK2muLzGPGnuHn8ejfan6oozJNmKSqv-i0GalDOyqaKL2K0mb-DuNAR7m4Gil61XQOzMcJ1NZQdgcOA0gjH-nBbg3Qu5OVO60sMO_EAzTWomME5ey8_mRmWb_T0o_qgxhFyJfl6dGvnFCeOqHVreIY_1VwN8xr8jPMJzM8b9XkHaGKE_g-AXPAifYOfb_vbhfl23kEr1BSKCAM8RxGGnLvKQK4AzHaBQgq952Bew-KHUhUXJGo2ib2MLZaLmaeK7yjfEcSDgY3yBf_ehutw2piwHmjnjNiyA1xYoSo2OL81TyKV3mmgVrYP4DUbDaX64lniSXkjIu9jQu7wUtqTreJgEevgQnc7P0jWql7aoQbRsH2HJiBuRNewY1219Fm-zZmTsdJqH7PNHSdYCJkzxsyYZTme-5NKPULzC-2T8Ocp_JfbJnl-t84f9k4XwYgJbETZWBJC-4RAA-rTH8tPTqCNgW1XXYyezhHTKcJnbWTOExFn1WTaCSiThtLqMEJafVTALVEBGFcOoPO6hyCQ0nbWZKTGOqsLKu8KMo0i3ld8E2xoTFWWEKNRblZxB9L83lBP2M54bCD9pJjv1aor12H2ko6b_B_5hQj9kbWg3PTrPbYBTh6PEXfJkyPaEj5cHxdTEZ_wzRoCms9WPxYX1ZpFQ81pG2br_JsQ1uWVd1lW6xXFV1xlla8K8sslrQFaevlXGNR52meZ2mRZWVerrKkW_FLXq43WZa16SYto1UKIxUymX-caNPHpg4Mre8tTkphnf05uWwb4JifejdoU7_XA8jrd5_iwFsH2B8rEEa4">