summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-01 00:01:02 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-01 00:01:02 +0000
commitbc6d8500888d3e77782f74686b84b7bfc82510c1 (patch)
treef40096038f10a823a8c3390bef103c3197263bb4 /clang/lib/Analysis/CFRefCount.cpp
parent5071fcde24d606b54ce2e6efbded090d7c374e63 (diff)
downloadbcm5719-llvm-bc6d8500888d3e77782f74686b84b7bfc82510c1.tar.gz
bcm5719-llvm-bc6d8500888d3e77782f74686b84b7bfc82510c1.zip
Temporarily treat "Autorelease" as "StopTracking". This is the original behavior.
llvm-svn: 52940
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r--clang/lib/Analysis/CFRefCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp
index 60a1a6a9c92..1cece43aa04 100644
--- a/clang/lib/Analysis/CFRefCount.cpp
+++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -1818,7 +1818,6 @@ CFRefCount::RefBindings CFRefCount::Update(RefBindings B, SymbolID sym,
default:
assert (false && "Unhandled CFRef transition.");
- case Autorelease:
case MayEscape:
if (V.getKind() == RefVal::Owned) {
V = V ^ RefVal::NotOwned;
@@ -1836,6 +1835,7 @@ CFRefCount::RefBindings CFRefCount::Update(RefBindings B, SymbolID sym,
return B;
+ case Autorelease:
case StopTracking:
return RefBFactory.Remove(B, sym);
OpenPOWER on IntegriCloud