This is an archive of the discontinued LLVM Phabricator instance.

[CodeGenObjC] invoke objc_autorelease, objc_retain when necessary
ClosedPublic

Authored by erik.pilkington on May 15 2019, 11:10 AM.

Diff Detail

Repository
rC Clang

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2019, 11:10 AM
ahatanak accepted this revision.May 15 2019, 11:59 AM

LGTM

clang/test/CodeGenObjC/convert-messages-to-runtime-calls.m
208 ↗(On Diff #199640)

Can you add tests for objc_alloc, objc_allocWithZone and objc_alloc_init too?

This revision is now accepted and ready to land.May 15 2019, 11:59 AM
This revision was automatically updated to reflect the committed changes.