[PATCH] D89055: [analyzer] Wrong type cast occures during pointer dereferencing after type punning

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 07:58:23 PDT 2020


ASDenysPetrov added a comment.

In D89055#2336709 <https://reviews.llvm.org/D89055#2336709>, @NoQ wrote:

> Ugh, sorry, no, that's `evalCast()`. Like `evalBinOp()` etc. My bad. Can we also use `evalCast()`?

I dived into `evalCast()`. Initially I had to figure it out and rework it to find the right place to put the fix in. You are welcome to review D89055 <https://reviews.llvm.org/D89055> as a parent revision.


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

https://reviews.llvm.org/D89055



More information about the cfe-commits mailing list