[PATCH] D71707: clang-tidy: new bugprone-pointer-cast-widening

Jan Kratochvil via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 19 14:33:42 PST 2019


jankratochvil marked 3 inline comments as done.
jankratochvil added inline comments.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:100
+
+  Check for cast of a pointer to wider (even unsigned) integer. This will
+  sign-extend the pointer which happens on 32-bit hosts for 64-bit integers.
----------------
Eugene.Zelenko wrote:
> Checks. One sentence should be enough.
Not sure if the wording is OK in such a long sentence (non-native English here).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71707





More information about the cfe-commits mailing list