[PATCH] D91055: [clang-tidy] Introduce misc No Integer To Pointer Cast check
Nuno Lopes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 9 02:05:00 PST 2020
nlopes added a comment.
Nice!
BTW, another popular idiom is to store data in the last few bits of the pointer (e.g., LLVM's own PointerIntPair). I guess that one can also be implement by casting the ptr to char* and doing operations over that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91055/new/
https://reviews.llvm.org/D91055
More information about the cfe-commits
mailing list