<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/65296>65296</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            `-Wdocumentation` false positive for function declaration with varargs
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          firewave
      </td>
    </tr>
</table>

<pre>
    ```cpp
/**
 * @param m, the loglevel
 */
void f(const char *m, ...);
```

```
<source>:2:11: warning: parameter 'm,' not found in the function declaration [-Wdocumentation]
    2 |  * @param m, the loglevel
      | ^~
<source>:2:11: note: did you mean 'm'?
    2 |  * @param m, the loglevel
      |           ^~
      | m
```
https://godbolt.org/z/fGKnhh68h

Related to #44510.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykk02P3CwMxz-Nc0EbEZPXQw6zL3kOz62XnklwEioCIyAz2h762SuyU021GqmVipDAGOf_w3ZkCHqxRD1Uz1C9ZnKPq_P9rD1d5YWy0an3Hmr-MafzGfgr8BPgAHhK8zAZ4IlByc_Sy41tgC8srsSMWwxdyNwvpbjDuDit2AzYTs6GyKZV-uQ_QvM8B-xAPN-0fqnfzIeH4iW43U8E4g3ECUGcigLEiV2lt9ouaXvAUaQk1CQhwIZZF9nsdquYtgfzvNspameZoslIL489VM9PX5Wb9o1sPI6ger29ijGGDJoX9ndJOEa6DtXbjz_AWxcprUor9u52tpG0N_gGxPCPAPdxR7l7t4d5XmM8BxAf9R8Wp0ZnYu78Ajh8Bxzm__6361q36--1-kJGRlIsOgYoyrIqeJ6pXqhOdDKjvqg70XZlx3m29oJjU47NPDeyJDUWbdPgNJZFMyFXbTlmukeOgne84jUWJc-xa4t6nltVzrwamwlKTpvUJjfmsiW2TIewU19X2NWZkSOZcLQ7oqUrO5yAmLrf9ynmadyXACU3OsRw_0rU0VD6Fz63Qs3ZLE0gdnZBR30hNjv_uJGuOq7sIr30S8h2b_pPCdVx3cd8chvgkIRvy9PZu280RcDhwA2Aw_GcnwEAAP__kCcS9g">