[PATCH] D48866: [clang-tidy] Add incorrect-pointer-cast checker

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 08:09:38 PDT 2019


steakhal added a comment.

The problem with the `-Wcast-align` is that it will only fire for C-style bitcast expressions, not for `reinterpret_cast` ones. example <https://godbolt.org/z/cm3S96>
Does anyone know why is that behavior?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D48866/new/

https://reviews.llvm.org/D48866





More information about the cfe-commits mailing list