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

2021-03-30 Thread Valeriy Savchenko via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG90377308de6c: [analyzer] Support allocClassWithName in OSObjectCStyleCast checker (authored by vsavchenko). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D995

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

2021-03-30 Thread Valeriy Savchenko via Phabricator via cfe-commits
vsavchenko added a comment. In D99500#2657675 , @NoQ wrote: > 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 >

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

2021-03-29 Thread Artem Dergachev via Phabricator via cfe-commits
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 `allocClassW

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

2021-03-29 Thread Valeriy Savchenko via Phabricator via cfe-commits
vsavchenko created this revision. vsavchenko added reviewers: NoQ, steakhal, xazax.hun, ASDenysPetrov. Herald added subscribers: martong, Charusso, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware. vsavchenko requested review of this revision. Herald