[all-commits] [llvm/llvm-project] 2f1a0d: [clang][sema] Fixed a crash when mixture of design...
Congcong Cai via All-commits
all-commits at lists.llvm.org
Mon Nov 4 06:28:30 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f1a0df72a3cf5b0f927a8c519cf327c4d0d008e
https://github.com/llvm/llvm-project/commit/2f1a0df72a3cf5b0f927a8c519cf327c4d0d008e
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-11-04 (Mon, 04 Nov 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
A clang/test/SemaCXX/PR113855.cpp
Log Message:
-----------
[clang][sema] Fixed a crash when mixture of designated and non-designated initializers in union (#114424)
Fixed: #113855
When the first init element is invalid, StructuredList can be empty.
It cause illegal state if we still set initialized field.
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