[PATCH] D33826: [clang-tidy] avoid pointer cast to more strict alignment check

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 06:56:03 PDT 2017


Eugene.Zelenko added a comment.

In https://reviews.llvm.org/D33826#856610, @lebedev.ri wrote:

> Any status update here? :)
>  I generally do see a benefit in this check, because `-Wcast-align` (at least currently?) does not warn on `reinterpret_cast<>()`.


I think will be good idea to extend -Wcast-align.


Repository:
  rL LLVM

https://reviews.llvm.org/D33826





More information about the cfe-commits mailing list