<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/67892>67892</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format `RemoveParentheses: ReturnStatement` on `decltype(auto)` return type
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format,
invalid-code-generation
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
owenca
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
owenca
</td>
</tr>
</table>
<pre>
clang-format (versions 17.0.1 and main) should _not_ remove the outermost parentheses of `return` statement expressions when the function return type is `decltype(auto)`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx00c9u3CAQBvCnGV_QWjBeO8uBQ_9oz1X6ABHGE5sKgwXDpnn7yt6tElXqCYHEN_D7bCl-jkQG-q-AmN4oOguI0H9vbOUlZXM_a8Y0vRsXbJxPrymvlgXg5Ua5-BSLUE-tbJWwcRKr9RFQi7KkGibxEhO_iExrupHghUSqTHlNhcVmM0VeqFAR6VXAIDNxzREGKQpbppUiC_q9ZSr3MW8LxSPktUbHPkVxvyH4fSPhy54xkQv7FvBiKydADYNsm8l0k-60bcioQQ9Kya7vm8Xo8-C0sthNWlk1XqTrUelRIynnuk413qDETupOojr3fd8qNzh1Udpqq86jIzhLWq0PbQi3tU15bnwplczwdNHYBDtSKA_fz367Mn4DRB9vNvjp5NJEp5kiZbt_7dFCNnvsaaxzgbMMvnD5GMSeA_3TyiCfD-wfH7rQfRHPB9TPv6y7cYr_9frs2tQczMK87TmAV8Dr7HmpY-vSCnjdX_NYTltOv8gx4PUwKIDXg-FPAAAA___lRMsk">