<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62416>62416</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Allow various formatting options for auto-generated parameter hints in bugprone-argument-comment
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mbautin
</td>
</tr>
</table>
<pre>
By default bugprone-argument-comment generates parameter hints of the form `/*parameter_name=*/`
It would be great to allow to specify formatting preferences (extra spaces), e.g.:
- `MyFunction(/* parameter= */ value)`
- `MyFunction(/* parameter */ value)`
- and maybe even `MyFunction(value /* parameter */)`, `MyFunction(value /*parameter*/)`, etc.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEUsGO3CoQ_Bp8aY3F4hnWPvgwuyNL7_C-IWrstk2EwYJmNvP3kT272SirTC40gq6iii5MyU6eqBWnF3G6FJh5DrFdDGa2vjBhuLVCXoQ8v9xgoBGzYzB5WmPwdMA45YU8H_qwbBUm8hSRKcGKERdiijBbzwnCCDwTjCEuILQUqhPq_Kvpm8eFRHUR6rzdaHl_877-x_AWshvAEEyRkIEDoHPhbduklXo73nZmZLZ-gjXSSJF8TwmEqukHR4S0Yk9JqEaoV6ByKkX1zn_YBP1_67Lv2QYvVH1X9-lBVBe4S4Mrukwby4fGf6MfQNEPsODNENCV_BemHQF_4XtnUq8PYZ8e_gAR92UxtNXQVA0W1D7pWmmltdTF3NYnfTpJHI0ZazWaSpE8PlNlSDamr9AUtlVSVfKonpV80kdd9rLXjayfR10PSjUojpIWtK507rqUIU6FTSlTq9XxSRcODbn0EbrYbk0Hk6ckjtLZxOkTxpYdted93FeMNuT0-6zDupnejwAzh8NHBIcvEbT-QXKLHF07M69py8X2Ud1kec6m7MMiVLfpeS-HNYbv1LNQ3e4pCdXttn4GAAD__500Dao">