<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57380>57380</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`AllowShortFunctionsOnASingleLine: Inline` does not work in clang-format 14.0.5
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zzyyyl
</td>
</tr>
</table>
<pre>
#### command
`clang-format --style="{AllowShortFunctionsOnASingleLine: Inline}"`
#### Input
``` cpp
class x {
#ifdef Y
#endif
void foo() { return; }
};
```
#### Output
``` cpp
class x {
#ifdef Y
#endif
void foo() {
return;
}
};
```
#### Expect
``` cpp
class x {
#ifdef Y
#endif
void foo() { return; }
};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzNUsGOmzAQ_RpzsYKMAQMHHxKlkVaqtIc99Wjjgbjr2AibzbJfXwNNtq20h61UqdIIZjx-8x7Dk07NHNH8Hrh1l4uwCpEjInvESGuE7XedGy8i4N3Oh9kAyo-IUlQd9sa469PZjeE02TZoZ_2j3T9p2xv4qm28uMcP1ixZtUIY-Tl4e_5K_GCHKdxpt8DtMGxHUYb3-BVH0jtWdwo6_O1eg1W62yqMX5xWuHMO0RrRZsHhEcI0WpQf8KJmQ8UkP_zB-qHExyn8Y423Dn4Xezv6S81fXgdo_4-9JsAzxrKSkCrLEsVz1eSNSIIOBnjsf8JN8ROUA4-tC_jqxmesLf7NqVmRkrRMptHwcwiDj1hETzF6Hc6TTKPNY2HMy-21G0b3fdkUPWnvJ_AxKau8JsmZx3XQhgloSgYFk5UglHVNW0klyqKQXWKEBOM5Kg_R5BaueB2xGL48JppTQimpKSNVWedZmpc1qytZtYJIUC2ggsBFaJMuOlI39snIV0ly6n1sGu2Df2_GH6Z7C7DSxfliCnFn_O1tnmeTrMx8Vf4DNfgUAg">