llvm-project
59169036 - [clang] Fix crash when #embed data does not fit into an array (#129567)

Commit
333 days ago
[clang] Fix crash when #embed data does not fit into an array (#129567) Tune SemaInit code handling #embed to take into account how many array elements remains to initialize. Also issue a warning/error message when the array/struct is at the end but there is still #embed data left. Fixes https://github.com/llvm/llvm-project/issues/128987
Author
Parents
Loading