[PATCH] D13313: [clang-tidy] new check misc-no-reinterpret-cast

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 1 00:33:54 PDT 2015


xazax.hun added a subscriber: xazax.hun.
xazax.hun added a comment.

If you check AvoidCStyleCastsCheck.cpp, it also suggest what kind of cast should you use to replace a C style cast. Probably, in some cases, the developers might be able to change the reinterpret_cast to something more type safe. It would be nice to make a suggestion in those cases.


http://reviews.llvm.org/D13313





More information about the cfe-commits mailing list