[PATCH] D99500: [analyzer] Support allocClassWithName in OSObjectCStyleCast checker

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 29 23:04:46 PDT 2021


NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.

LGTM! Thanks for formatting ^.^

WDYT about a heuristic that literally matches the source code of the casted expression as plain text to see if it mentions the type? Like, regardless of `allocClassWithName()`, if it mentions the type it probably has something to do with that type.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99500



More information about the cfe-commits mailing list