]> granicus.if.org Git - clang/commit
[CodeGenObjC] invoke objc_autorelease, objc_retain when necessary
authorErik Pilkington <erik.pilkington@gmail.com>
Wed, 15 May 2019 20:15:01 +0000 (20:15 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Wed, 15 May 2019 20:15:01 +0000 (20:15 +0000)
commitf977b591a1a0d3168beaab1b27ac023d55d683b7
treeb350d50077ea5ddeca0dfee2ed0910204df21c3e
parentcf1fe2247e68e1f3f65e79eebccfd1dde950a875
[CodeGenObjC] invoke objc_autorelease, objc_retain when necessary

Any of these methods can be overridden, so we need to invoke these functions.

Differential revision: https://reviews.llvm.org/D61957

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360802 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjC.cpp
test/CodeGenObjC/convert-messages-to-runtime-calls.m
test/CodeGenObjC/objc-alloc-init.m