]> granicus.if.org Git - clang/commit
Enhance attribute cf_returns_retained to also work (in the analyzer)
authorTed Kremenek <kremenek@apple.com>
Fri, 5 Jun 2009 23:00:33 +0000 (23:00 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 5 Jun 2009 23:00:33 +0000 (23:00 +0000)
commitb9d8db86ab1d9c95c09083d8e9792414ae9fcd6d
tree100497a538344682703bf79780b3686f2e913ae2
parent2968b7741da535810250b919c95d12105882d19f
Enhance attribute cf_returns_retained to also work (in the analyzer)
for non-Objctive-C pointer types.  This implicitly documents that the
return type is a CF object reference.

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