<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/75189>75189</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
readability-reference-to-constructed-temporary should be moved to the "bugprone" category
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
carlosgalvezp
</td>
</tr>
</table>
<pre>
References to temporaries are a serious problem in C++ that leads to quite a few bugs, and is often misunderstood. Thus, I believe this warning should belong to "bugprone" instead of "readability".
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckUGPnDAMhX9NuFggMMMOHDh0txqp16p_wEk8kCokNHFmNf31FairrXrywX7We--jnN0SmGc1vKrha0VF1phmQ8nHvJB_8O-90tE-5-9858TBcAaJILztMVFynIESA0Hm5GLJsKeoPW_gArwpfFX4CrKSgGeyp_RXcXII7vwOuixZ4RtQsOAyxLtwgM3lEiynLDHaBn6s5bz5Bpq94weDrC7DO6XgwgJ5jcXbYxfDcvxXiLose4qBFSK4kIXJQrwfm8RkSTvv5KkQG6js3Nupn6jiubu22E_ty9RX6zx2dujGDq99z3o0wx0vUzcNBmmYrhOZys3YYt9hh93lOGxGbaeJtG6RsHuhUV1a3sj5xvvH1sS0VC7nwvN16Map8qTZ57N2ROMpLLU4e5g6MKT5ENVnPZfWuyz584048Tz_k6ROH2xqibWJIUsqRtjWH5ienzXBFh9sT4Yr_1-WIeElpmdVkp9XkT2r_ovCm8Lb4mQtujFxU3g7vPwd9Z7iTzai8HbmywpvZ8Q_AQAA__9VScom">