<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/87697>87697</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`cppcoreguidelines-missing-std-forward` should be ignored for unused input arguments
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
vawale
</td>
</tr>
</table>
<pre>
Check `cppcoreguidelines-missing-std-forward` fails for following code snippet:
```cpp
template<typename F>
auto BaseCase(F&& /*unused*/) {}
```
Godbolt link: https://godbolt.org/z/Pv9erhcxa
It would help if the check is ignored for unused/unnamed input arguments.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUsuO3CAQ_Jr2Bc0IYxvbBx9md-Iot_wChrZNFgPiMZPN10f2ZJXVKJdICASl7q4qSsSoF4s4QPMCzbUQOa0uDDdxFwaLyan34XVF-UaAU-m9dAGXrBUabTGeNh2jtsspJnWaXbiLoIBTMgttIpldILMzxt21XYh0Ckm02ntMUF2AXoF-7Jw-lvT-8ZJw80YkhOo1vXu0YkMyQvXlgYqcHHkREV9FRGDdCIwD4wTYCOySbY6ogF2Oa0-gfYH2-jTp8_ivTk3OJGK0fYPqQtaUfNwp7vXj8kDPLizAxl_Axu-3HsMqf4rPTb4lcnfZKLKi8UTPJK1I5OGcjkQv1gVUhyUf_MZsd12KaOtzIiIseUOb4pkUaqhUX_WiwKFsS8Z4yZuyWIeZ93PPW8ZV3TU1pyX25Vyxrm9K1VaNLPTAKKtpTWtGy7osz7KbBJeylci6hooGaoqb0OZszG3bNRU6xoxD1_K-LYyY0MQjCoxZvJMDBMb2ZIRhrzlNeYlQU6Njin-7JJ0MDv-Tkbgedk34D3OeLSlyMMPTt-i05uks3QZs3Gn8OU4-uB8oE7DxIB-BjYe43wEAAP__nUXtRg">