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

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 11 18:31:46 PST 2018


hgabii added a comment.

Check for different size and alignment as well.
Tests migrated from D33826 <https://reviews.llvm.org/D33826>.
Warning in case of `reinterpret_cast`, but options is added to be able to turn it off.


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D48866





More information about the cfe-commits mailing list