[all-commits] [llvm/llvm-project] 37f7f1: Diagnose the code with trailing comma in the funct...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Feb 14 14:16:30 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 37f7f151e586d3e3e5339286aeb4aac6ad7561ea
      https://github.com/llvm/llvm-project/commit/37f7f151e586d3e3e5339286aeb4aac6ad7561ea
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M clang/lib/Parse/ParseExpr.cpp
    M clang/test/Parser/recovery.cpp

  Log Message:
  -----------
  Diagnose the code with trailing comma in the function call. (#125232)

This patch fixes a regression caused by
https://github.com/llvm/llvm-project/pull/114684 where clang accepts
trailing commas for function calls.

Fixes #125225

(cherry picked from commit 922f339c4ef3631f66dc4b8caa4c356103dbf69d)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list