<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54383>54383</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-tidy: modernize-use-trailing-return-type: missing void
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
FStefanni
</td>
</tr>
</table>
<pre>
Hi,
I do not know if this is the intended behavior or a bug, but the warning (and relative auto-fixes) of the `modernize-use-trailing-return-type` are not triggered for functions returning `void`.
I suggest to support also these signatures (maybe with an option for backward compatibility?) to allow to have a complete homogeneous code.
Regards.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUs2OnDAMfppwsUCZALPDgcO2q1F7bZ_AEAPZzSQoMbOdPn0Nq6raW6UIJ9j5fhwP0T76b06Zr0q_KP388f0ONkKIDG8hvoObgBeXQRYvBC4wBUsWBlrw7mICWQjDNguKBD6q3jEFF2ZQ5oLBQiKP7O4EuHEsJ_eLsjIdxOkoVmd9i5bkxm8qt0wlJ3RerpeJeEuh5MdKUgSY6NDFyc0zJRExCfm0hZFdDBk-yg_es75HZyVUn53lTW5mgYiyXdeYGNDnuOvIBNnNAQWD8q78ho9BrDheAAPEdSc5GAcc38ShhTHeVjE2iFp-qPq6mxJk9F4aJxvpkHg-yjwxwRJvcaZAccvy09IncT9oFsxcFbavbVd3WLBjT_3oUVrBzgrDM_xHp_Yql_Peh70JxZZ8vzCvWTLKiMjrLJ62oRJdcvD-_jeUa4qvNLIcBWDbX-naNvWlLpb-hCfSROfh3Jzw8kSjQTuO9NTqrqZuqguPA_ncq_aLMiaQTM4OIXvVvhSuN9oYXZ9afWka01VD17VoNHbteG60NqrRdBMz1a6jimkuUn9IksnKkvQuc_6XxLy_FdFBJ_gyWEtM_fUn04QhuOIg7w_xfwBFnvlC">