Move the last uses of RetainFunc etc. over to using getRetainCallee() etc.
authorDan Gohman <gohman@apple.com>
Fri, 22 Jul 2011 22:29:21 +0000 (22:29 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 22 Jul 2011 22:29:21 +0000 (22:29 +0000)
commit4428069f10ac6e7efb55826437c82428d4bbe03e
treefced350a562033348810a1bb78df681b7c406f01
parent1608637bbd327fe1fbc82e0e0639224b124de720
Move the last uses of RetainFunc etc. over to using getRetainCallee() etc.
so that a declaration for objc_retain is created when needed if it doesn't
already exist. rdar://9825114.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135821 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ObjCARC.cpp
test/Transforms/ObjCARC/retain-not-declared.ll