This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] [RetainCountChecker] Fix object type for CF/Obj-C bridged casts
ClosedPublic

Authored by george.karpenkov on Jan 31 2019, 5:30 PM.

Details

Summary

Having an incorrect type for a cast causes the checker to incorrectly dismiss the operation under ARC, leading to a false positive use-after-release on the test.

rdar://47709885

Diff Detail

Event Timeline

george.karpenkov updated this revision to Diff 184654.
george.karpenkov edited the summary of this revision. (Show Details)Jan 31 2019, 5:38 PM
NoQ accepted this revision.Jan 31 2019, 5:39 PM

Thx!

This revision is now accepted and ready to land.Jan 31 2019, 5:39 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2019, 6:12 PM