<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/142265>142265</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Requires expression formatting not honoring AllowShortBlocksOnASingleLine
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
SouravKB
</td>
</tr>
</table>
<pre>
Code:
```
template <typename T>
concept Addable = requires(T x) { x + x; };
```
Config:
```
BasedOnStyle: Google
```
Expected formatting:
```
template <typename T>
concept Addable = requires(T x) {
x + x;
};
```
Actual formatting:
```
template <typename T>
concept Addable = requires(T x) { x + x; };
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0UsGOmzAQ_ZrhYiUyBgwcfIBk00MrrdTsDzhmALfGprZJyd9XpJG23a7USytZskaaefPemydD0INFFFC0UBwTucTReXF2i5fXj21ycd1NHFyHkDVAG-D08WgTcZqNjEggO8TbjFZOSF4gewLaKGcVzpE0XScvZms5Eo_fFu0xAKteyAqsJlC2ZCXAWrJC1hIoj5C1b7YcnO318Of2Vgbsnu053szGjXxwbjD4pulpnVFF7Ejv_CRj1PYdpH-iY8Ok9auYrX5PTqPiIs3_5_NXX5NOZF2d1TJBkZZ5xas6zXgyCp5y5HVFS5aXRV8xnqte0bxArGrKWZ9owSgraJGlKS2qgu_rupey5BJ5TfMUU8gpTlKbvTHXae_8kOgQFhRpzhgvEiMvaMI9cIwpI-2w-2kHMLZF0IttbndZhgA5NTrE8IoUdTT3sP42WBzJ54cLBNfZYwja2V9cJtZFMjrr_FY0xrjv59H52BqnvoZn25y1HQx-0haTxRsxxjiH7TTsBOw06Dgul71yE7DTRuXx7WbvvqCKwE53hQHY6SHyKtiPAAAA___JiAEK">