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

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 06:58:00 PDT 2017

lebedev.ri added a comment.

In https://reviews.llvm.org/D33826#856619, @Eugene.Zelenko wrote:

> 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.

Hmm, i though it was actually intentional, but filled https://bugs.llvm.org/show_bug.cgi?id=33397 anyway back then.
I'll look into it then, should be easy.



More information about the cfe-commits mailing list