[PATCH] D41799: [analyzer] PtrArithChecker: Update to use check::NewAllocator

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 19:51:52 PST 2018


NoQ planned changes to this revision.
NoQ added a comment.

https://reviews.llvm.org/D41250#971888 reverts the change in how casts work, and the checker doesn't really need the casted value, because it only tracks the pointer.

This still leaves us with the problem of `PostStmt<CXXNewExpr>` being called twice, so i'd keep this revision around so that i didn't forget to fix this; same probably needs to be done for dynamic type checker.


Repository:
  rC Clang

https://reviews.llvm.org/D41799





More information about the cfe-commits mailing list