[PATCH] D61957: [CodeGenObjC] invoke objc_autorelease, objc_retain when necessary

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 15 11:11:50 PDT 2019


erik.pilkington created this revision.
erik.pilkington added reviewers: ahatanak, rjmccall.
Herald added subscribers: dexonsmith, jkorous.
Herald added a project: clang.

Any of these methods can be overridden, so we always need to conservatively `invoke` these calls.


Repository:
  rC Clang

https://reviews.llvm.org/D61957

Files:
  clang/lib/CodeGen/CGObjC.cpp
  clang/test/CodeGenObjC/convert-messages-to-runtime-calls.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61957.199640.patch
Type: text/x-patch
Size: 3991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190515/73084f11/attachment.bin>


More information about the cfe-commits mailing list