aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ProgramTest.cpp
diff options
context:
space:
mode:
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>2025-03-05 11:04:52 +0100
committerGitHub <noreply@github.com>2025-03-05 11:04:52 +0100
commit59169036ca0e064612886713d609873f776e85db (patch)
tree70fdc8e8388ae94d905f0f90377acb9e976aee62 /llvm/unittests/Support/ProgramTest.cpp
parent5c375c3283fcd2bf4f98fe8627658e056e25dc44 (diff)
downloadllvm-59169036ca0e064612886713d609873f776e85db.zip
llvm-59169036ca0e064612886713d609873f776e85db.tar.gz
llvm-59169036ca0e064612886713d609873f776e85db.tar.bz2
[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
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions