]> granicus.if.org Git - clang/commit
Fix <rdar://problem/7033733>. The CF_RETURNS_RETAINED attribute should work if the...
authorTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 18:30:43 +0000 (18:30 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 18:30:43 +0000 (18:30 +0000)
commit6d4b76d93cbc5ad05af4cd2815c86febbfd5e798
tree8dd59ca26819ecb8c9b070e88760a3bfe466adb5
parent675431d5a8b6aed1bd7322aa2da5cd8eb0ae76b7
Fix <rdar://problem/7033733>.  The CF_RETURNS_RETAINED attribute should work if the return type on an Objective-C method is a CF type reference, not just an Objective-C object reference.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74841 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFRefCount.cpp
test/Analysis/retain-release.m