[all-commits] [llvm/llvm-project] 7c0029: [Clang] Fix integer promotion of bit-fields in sta...
ahmed mohamed kamel via All-commits
all-commits at lists.llvm.org
Wed Sep 23 10:43:21 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c0029df8395a8688ff55feaadc36babd55efaf4
https://github.com/llvm/llvm-project/commit/7c0029df8395a8688ff55feaadc36babd55efaf4
Author: ahmed mohamed kamel <amkzaher at gmail.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M clang/docs/ReleaseNotes.md
M clang/lib/AST/Expr.cpp
M clang/test/Sema/stmtexprs.c
Log Message:
-----------
[Clang] Fix integer promotion of bit-fields in statement expressions (#225597)
`Expr::getSourceBitField()` now looks through the final expression of a
statement expression to preserve the bit-field information. This allows
the existing integer promotion rules to correctly promote the bit-field
to `int`.
Also added a regression test for the issue.
Fixes #221542
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