Concurrency: remove workaround for silencing UB

The newer clang properly identifies UB on invalid pointer casts. This
was previously being silenced by suppressing the warnings. Adjust the
code to use `std::bit_cast` (or the shim implementation) to avoid the
UB in this code.
This commit is contained in:
Saleem Abdulrasool
2025-03-23 20:16:21 -07:00
parent 433ff598f5
commit 87f2b88ada
4 changed files with 7 additions and 6 deletions

View File

@@ -18,6 +18,7 @@
// DEP: _exit
// DEP: _free
// DEP: _malloc
// DEP: _memcpy
// DEP: _memmove
// DEP: _memset
// DEP: _memset_s