<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57004>57004</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Format] Comparisons interpreted as template argument list
</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>
No `.clang-format`.
Input and expected output:
```C++
static_assert(ratio{-1, 2} < ratio{-1, 3} == -1 / 2.0 < -1 / 3.0);
static_assert(ratio{-1, 2} < ratio{-1, 3} == -1 / 3.0 > -1 / 2.0);
```
Actual output:
```C++
static_assert(ratio{-1, 2} < ratio{-1, 3} == -1 / 2.0 < -1 / 3.0);
static_assert(ratio{-1, 2}<ratio{-1, 3} == -1 / 3.0> - 1 / 2.0);
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzVUkGO3CAQfA2-oLEw2NgcOOzM7ETJIcoPIow7NhE2FrSj5PfBnt1kcoly2EukFlBNQxVF92H4oT8GSiQrrTfLePoS4mxwx4RdCXu6j--XdUNqloHC9xUswkDDhjlHxEtFPnGPC-HnPY5sQoPOfjYpQUTCu5hhIO35VBF-oZy0V0rEhf6ZFvf0NQc9VZTwG-UlOwpfoCgZ4YqIN2YRB8vzA-kjy68XPhrzZHEz_v8yI5_9FysOJ-jfrShAV7JRqq1kJ4tBi0EJZQp06EGT5ny7d1NzpZcwrya6FJZE3YIQ1wh7G5lEEebVGwRq4rjNsCD1LmGxRa8nxDXttvJbjtHhtPWlDXMG3n97nU5rDF9zV2boUtog5UXTMlYXkxZGsqrnVlZt0wnVgJBM8KEfBmVrZWXhTQ8-7WKzzMJpzjhnHeuqpqrrupSq6ZVSHCznXApDagazcb7cicsQxyLqQ0O_jSlv7tLT7838DW5cAF7vNxtOIeoPYQL__O5TcejVh9ifZFf4rA">