diff options
author | Congcong Cai <congcongcai0907@163.com> | 2024-11-04 22:28:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 22:28:07 +0800 |
commit | 2f1a0df72a3cf5b0f927a8c519cf327c4d0d008e (patch) | |
tree | 4f99fd8ac53a9e79c0e1e0516ac7e3949e06bf69 /clang/lib/Sema/SemaConcept.cpp | |
parent | 899336735aeb2b41a48b6ac2c895da5e0f22dbf0 (diff) | |
download | llvm-2f1a0df72a3cf5b0f927a8c519cf327c4d0d008e.zip llvm-2f1a0df72a3cf5b0f927a8c519cf327c4d0d008e.tar.gz llvm-2f1a0df72a3cf5b0f927a8c519cf327c4d0d008e.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Sema/SemaConcept.cpp')
0 files changed, 0 insertions, 0 deletions