[clang] [TBAA] Don't emit pointer-tbaa for void pointers. (PR #122116)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 10:19:57 PST 2025
rjmccall wrote:
I agree that allowing `void*` l-values to alias arbitrary pointer objects is probably the right pragmatic choice. We should document it, though.
@pinskia, does GCC apply this recursively — e.g. are `void**` l-values treated specially in any way, or are they basically just `char**` for aliasing purposes?
https://github.com/llvm/llvm-project/pull/122116
More information about the cfe-commits
mailing list