[clang-tools-extra] [clang-tidy] Create bugprone-bit-cast-pointers check (PR #108083)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 05:03:43 PDT 2024
carlosgalvezp wrote:
Thanks for the clarifications, will address asap!
It now comes to mind that we probably also want to check `memcpy(ptr, ptr)`, which is equivalent to `bit_cast`. In that case I wonder if the check name still holds or it should be named something else?
https://github.com/llvm/llvm-project/pull/108083
More information about the cfe-commits
mailing list