[all-commits] [llvm/llvm-project] c7daab: [Clang] Fix the trailing comma regression (#136273)
Younan Zhang via All-commits
all-commits at lists.llvm.org
Fri Apr 18 01:27:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7daab259c3281cf8f649583993bad2536febc02
https://github.com/llvm/llvm-project/commit/c7daab259c3281cf8f649583993bad2536febc02
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M clang/lib/Parse/ParseExpr.cpp
M clang/test/Parser/recovery.cpp
Log Message:
-----------
[Clang] Fix the trailing comma regression (#136273)
925e195 introduced a regression since which we started to accept invalid
trailing commas in many expression lists where they're not allowed by
the grammar. The issue came from the fact that an additional invalid
state - previously handled by ParseExpressionList - was overlooked in
that patch.
Fixes https://github.com/llvm/llvm-project/issues/136254
No release entry because I want to backport it.
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