[clang-tools-extra] [clang-tidy] Add check 'bugprone-cast-to-struct' (PR #153428)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 13 12:56:38 PDT 2025
https://github.com/vbvictor commented:
I feel that `and accessing a field can lead to memory access errors or data corruption` can be misleading when there is no field/memory access happens so we could remove it from error message.
https://github.com/llvm/llvm-project/pull/153428
More information about the cfe-commits
mailing list