<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/72044>72044</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-tidy: warning on passing by value beyond size
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lamarrr
</td>
</tr>
</table>
<pre>
often passing by value beyond a certain-size is not good performance-wise. typically beyond the register size. is there a clang-tidy warning that enables this? if not, do you think it is worth adding? if so I'd like to implement it
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kcGOnDwQhJ_GXFqDmAYGOPiw_x8h5TEMbqCzxkZ2syPy9JFHm2wuOfngqq-6u0xKvHoirdr_VPutMKdsIWpndhNjLKZgLx0WIQ9HlvoVpgs-jDsJJrqCt2BgpiiG_S3xTwJO4IPAGoKFg-IS4m78TLcnJypBroNn49z12y0bQaSVk1CEDCgzQTaKlMnO-PUmbC94muhzvGxGgLyZHGUdJ1WPwEsOVfg_2ABXOPOHfweWDHuGKBsYa9mvn-IU4LvCzoLjdwIJwPvhaCcvwFJYXduhHkxB-v4Yhq5te-yLTfemu899t0yP5mHbasauWmjuEauqsS1RwRorrO_3O1aIddOXddv3QzvXQ4_TssyNairaDbvSuY-9DHEtOKWTdIdV0xTOTOTSqwnEr9UVYm4m6my6TeeaVFM5TpK-MMLiSP_lqd_-XCz8u7t88OKMTm8iR1L1m8JR4biybOdUzmFXOOaMz-d2xPCDZlE4vuZOCsfX6L8CAAD__0NMxAQ">