Temporarily treat "Autorelease" as "StopTracking". This is the original behavior.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52940 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 60a1a6a..1cece43 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -1818,7 +1818,6 @@
default:
assert (false && "Unhandled CFRef transition.");
- case Autorelease:
case MayEscape:
if (V.getKind() == RefVal::Owned) {
V = V ^ RefVal::NotOwned;
@@ -1836,6 +1835,7 @@
return B;
+ case Autorelease:
case StopTracking:
return RefBFactory.Remove(B, sym);