Page MenuHomePhabricator

[analyzer] Add initial support for ObjCIndirectCopyRestoreExpr.

Authored by NoQ on Jun 3 2020, 2:50 AM.



Idiomatic objc using ARC will generate this expression regularly due to NSError out-param passing. Providing an implementation for this expression allows the analyzer to explore many more codepaths in ARC projects.

Patch by Paul Pelzl!
(who can't participate in the discussion for IRL reasons; i'll address comments)

Diff Detail

Event Timeline

NoQ created this revision.Jun 3 2020, 2:50 AM
vsavchenko accepted this revision.Jun 3 2020, 3:30 AM
This revision is now accepted and ready to land.Jun 3 2020, 3:30 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2020, 9:19 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript