<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/131171>131171</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`warn_second_arg_of_va_start_not_last_named_param` is inaccurate-
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
clang:diagnostics
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
erichkeane
</td>
</tr>
</table>
<pre>
The diagnostic `warn_second_arg_of_va_start_not_last_named_param` is inaccurately worded/named. It is actually not a problem of the last NAMED param, it is the last non-variadic parameter. Consider:
See here; https://github.com/llvm/llvm-project/pull/131166#discussion_r1993932181
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysUj2P3CAQ_TW4QWeZYf1BQXF3G0spkibprTGMbRIWVoD3tP8-8l6SqyNFQqJ4j-F9DObs1kCkWfvC2nOFe9li0pSc2X4SBqrmaO_6-0bcOlxDzMUZzrrmDVOYMpkY7IRpneIy3XDKBVOZQiyTx1ymgBey0xUTXljXcJe5C2jMnrCQv_O3mCxZBuODV3P-uRwcNGVH7-88xMKRX1OcPV14XHjZiB-D-dfnL5_O_H0wvHL3ePcXDTE83TA5tM68k6hQqjl_jSE7S4nJZ9Yc5xsR3ygRky98K-WaDwRGBuPqyrbPtYkXBqP3tz_X0zXFH2QKg_G6e89gFFKIrmMgrctmz9nFMCWhlFQSxCAqq6VVUmFFWvQnMQytamW16aVbVENWEQ1kpOyNUtTDSUIjoW0VVU5DA20jhRS9AAl1vzTQ0TB3zQD9Ai07NXRB5-tDWB3TWrmcd9KHol5UHmfy-dEswBqj5YtL-Ygq78QAGLwyAOMxrEw-f9SbD6w9V0k_DM_7mtmp8S6X_PFTccWT_h-L8FTtyet_Tv_hIv_OvxfVTcOvAAAA__8ZRe3T">