[clang] Diagnose the code with trailing comma in the function call. (PR #125232)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 03:59:45 PST 2025
hokein wrote:
> @hokein feel free to merge :)
Thanks for the ping.
We have several instances of `func(1,);` in our internal codebase, and the number is not small unfortunately. I'm currently working on a cleanup, which will take some time. I plan to merge this patch as soon as the cleanup is complete (ETA: by the end of this week).
Additionally, we will need to backport this fix to the `release20` branch.
https://github.com/llvm/llvm-project/pull/125232
More information about the cfe-commits
mailing list