<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62414>62414</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
More flexible options for bugprone-argument-comment based on function and/or argument name
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mbautin
</td>
</tr>
</table>
<pre>
It would be great if clang-tidy check bugprone-argument-comment had ways to suppress the warning based on:
- Function name (potentially fully qualified with the namespace).
- A combination of function name and argument name.
This would allow to avoid enforcing unnecessary comments such as e.g. `IncrementBy(/*increment=/1);`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Us2OozwQfBpzaQVBQ0g4cMhohDSH7_a9QNtuwLvGZv0z2bz9CjbRaC57cUvd7lJVV1GMZnbMgzi_ifN7QTktPgyrpJyMK6TXj-Ejwd1nq0EyzIEpgZlAWXLzKRn9ALWw-gkyz1vwjk8U5ryySyfl173CQhru9IiQPMS8bYFjhLQw3Ck442aQFFmDd6K5iepdVLcTjNmpZLwDRyuDwOvmE7tkyNoHTHl_f2WyZjKs4W7ScgDun-NGigX25QvqBsqv0jg68PwE0zdschpelI_Oc_Hv-_9i4lM9Wevvuwb69EYDu8kHtdPPzrHiGCk84Kk5QsxqAYrA5VyC6KoPpwLvo7eHwKvAUeDNvHqieRc41gJ70byJrioLPTS6b3oqeKi7K3bYVU1XLAPVda35er62taYLyalR7fmMfXu5tpOUVJgBK2yqFi9YVZe6K6klVI3scaq51f0k2opXMra09nMtfZgLE2PmocO2bgtLkm080oDo-A7HUCDu4QjDvnOSeY6irayJKX6hJJMsD__5wDBZ_m2kZfDbfucIkw__yMfL_i9jyGmBow_fjSlysMOS0hb3oOwXHGeTlixL5VeB407lWU5b8D9YJYHjISAKHA-BfwIAAP__LnD9Aw">