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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] Unnecessary extra spaces around template brackets
        </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>
    When bumping from clang-format 18.1.8 to 19.1.1 we notice this change in formatting:

```
$ 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 > {};
```

Notice the extra spaces around the `<` and `>`. This happens with default configuration (no `.clang-format` file). This is also happening in `main`:
https://godbolt.org/z/9nv3js7qe
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU01vpDgQ_TXmUmpkbGjwgUOSDsc9JdrjqjDV4KyxGWw6H79-5O6OJhllpIyEjKrk9-q9KheGYEZH1LLqllWHDLc4-bXVuFofRrQneluy3g-v7b8TOei3eTFuhOPqZ9AW3bg7-nXGCEWTF3kD0UOh8iIv4JnA-Wg0QZxMAD2hGwmMgwsgGjcyecP4gfH3c8-v3yUUJWiMECnEXC_LJYtb9PACTB4gxCExyBvt3WCi8Q7tf5HJu4dL-oR2o3QzXX78kGPiDh7S8cjkPatvWX1g8vZrEX9U9sH8rlB_qxKYTBq-qxOYvIfvKP3nveUE9BJXhLCgpgC4-s0N53xCyDu254BuuET3bM9zeEhzmnBZyAV4NnGCgY642Qjau6MZtxWTfGCicT4B849NSIRHY4kJdaUyAdAGf6VMz8a4BJvRuHPZq-YpxiWkSHRMdKMfem9j7teRie6NiU65k3wK9Q_KhlYOSirMqC1qUauyEEJlU1tXjVK1kn3BZa8qWalCU18WnJdHyVWdmVZwkWLJ65ILlQ-aGq30vuqxqaQeWMlpRmNza09zqp2ZEDZqi4KrfZNZ7MmG85II8cm1EGlt1jbhdv02BlZya0IMv5iiifa8YJ-A1QEenSNNIeD6-vW0aF4sRoJ-Rf0_xZBtq21_a5eJ09bn2s9MdKnk9bdbVv9EOjLRnZ0EJrqrmVMrfgYAAP__GmMyyw">