<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/112487>112487</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Unnecessary extra spaces around template brackets, part 2
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
carlosgalvezp
</td>
</tr>
</table>
<pre>
Hi!
I recently reported [this issue](https://github.com/llvm/llvm-project/issues/110968), which was fixed. However, we notice it still fails in this other similar use case when we use brace initialization instead of = initialiation:
```
$ cat test.cpp
auto x{std::conditional_t<T::value == U::value, T, U>{}};
```
```
$ clang-format-19 test.cpp
auto x{std::conditional_t < T::value == U::value, T, U > {}};
```
[Demo](https://godbolt.org/z/Pbehznd6G).
I thought it'd be better to open a separate ticket instead of continuing on the closed one, let me know what you prefer.
Thanks!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVE1v4zgM_TX0hWhgy1_xwYdmMtnZ2x7a84KWGVtbRTIkOmn76xdy9yMFZoFZDCDIMIknPT7xkWI0k2PuoT5AfcxoldmHXlOwPk5kr_y-ZIMf3_pvBlQB-RHyx4_9Vwys2Yl9w8CLD8IjQn2Q2UQ0Ma4M9RHUfhZZIpSPoE6gTpOReR122l9Anay9_v15WIL_g7WAOm3YCOpUFHnX7EF1oL7gbTZ6xhtFPJtXHnf4zd_4ymHLMTovRjMawSjGWjyTsRGNw42Ol5kDRnMxlgKukVFTZLzN7BI4BYZACe-MGLLmncR4h8ZFYRrRnxHK4z_ZLZlKulMDmvyv9fGrKtQkKBxlp5flI0qreHyF9hBlTPjyUXs3mnQc2d8Fyi9PH-Er2ZXTnena57tYKvcpbc9QfoX2AO0xrfLwfRb_Sc2Smx7OPlxIHoru_9FEKBOJHyWKUH7FH6VaH4588d_tHD8O3srOhwnU6R3U6beB53c3Nr-A6nafO1Nmv06zoBFQ7YgD48AiHFA8-oUdEkZeKJAwitEvLPdvrb0T41bjJvSpgxi19ZFH9G6ry7LghfHF-RveZhJ88ysugc8cPvF4msm9RFBFNvbl2JUdZdwXreryRuV5kc29UudG76uyUlUzFrTnjpq2KweVN2O9b4fM9CpXVZEXTd7meV7sinrftl1Rt0NT62oYocr5QsbukouSONnmn74oVLVvM0sD27i5W6n7Vwelkt9Dv7lvWKcIVW5NlPjvSWLEbpPhE7A-4rNzrDlGCm_IrxII40KaI1LwqxtR-LLYpG1y1QtLTKotFARVtgbb_8xM2Mq69urPAAAA__8DDHQ6">