forked from OSchip/llvm-project
7e7ecef980
Although type punning is defined for union in C, it is UB in C++. This patch introduces a bit_cast function to convert between types in a safe way. This is necessary to get llvm-libc compile with GCC. This patch is extracted from D119002. Differential Revision: https://reviews.llvm.org/D119145 |
||
---|---|---|
.. | ||
integration | ||
loader | ||
src | ||
utils | ||
CMakeLists.txt | ||
ErrnoSetterMatcher.h |