diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-01 00:01:02 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-01 00:01:02 +0000 |
commit | bc6d8500888d3e77782f74686b84b7bfc82510c1 (patch) | |
tree | f40096038f10a823a8c3390bef103c3197263bb4 | |
parent | 5071fcde24d606b54ce2e6efbded090d7c374e63 (diff) | |
download | bcm5719-llvm-bc6d8500888d3e77782f74686b84b7bfc82510c1.tar.gz bcm5719-llvm-bc6d8500888d3e77782f74686b84b7bfc82510c1.zip |
Temporarily treat "Autorelease" as "StopTracking". This is the original behavior.
llvm-svn: 52940
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 2 |
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); |