detail::image_mem_impl
destructor may throw an exception even though it is implicitly nothrow
#16331
Labels
detail::image_mem_impl
destructor may throw an exception even though it is implicitly nothrow
#16331
The following destructor may throw
sycl::exception
, but being implicitlynothrow
this will result instd::terminate
which could be unexpected for our users:llvm/sycl/source/detail/bindless_images.cpp
Lines 64 to 67 in 83fe1c1
Exception could be thrown here:
llvm/sycl/source/detail/bindless_images.cpp
Lines 219 to 247 in 83fe1c1
Either from
Plugin->call
, or just by falling to thatelse
branch at the end which does direct throwThe text was updated successfully, but these errors were encountered: