[clang] [clang] Fix inaccurate wording of warn_second_arg_of_va_start_not_last_named_param (PR #131238)

Imad Aldij via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 14 08:01:32 PDT 2025


================
@@ -4893,7 +4893,7 @@ bool Sema::BuiltinVAStart(unsigned BuiltinID, CallExpr *TheCall) {
 
   if (!SecondArgIsLastNamedArgument)
     Diag(TheCall->getArg(1)->getBeginLoc(),
-         diag::warn_second_arg_of_va_start_not_last_named_param);
----------------
imdj wrote:

What is the recommended action here? Is it worth it to open a new PR?

https://github.com/llvm/llvm-project/pull/131238


More information about the cfe-commits mailing list