[libc-commits] [libc] [libc] avoid type-pruning with inactive union member (PR #116685)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Nov 18 11:30:41 PST 2024
nickdesaulniers wrote:
If this is to avoid UB, does UBSan flag this code in particular? IDK if it has a check for type punning in C++ (I was familiar with C rules, not C++ so this is surprising to me why we need this change).
https://github.com/llvm/llvm-project/pull/116685
More information about the libc-commits
mailing list