diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-06-27 00:51:18 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-06-27 00:51:18 +0000 |
commit | 29299c6c98fa05f635c984898d0e9b5fcbb412d4 (patch) | |
tree | 81c50849ae5e201904b603ece6ee889aca047eb7 | |
parent | 4715ed95e3e710db097bfdd9a38b67bd7e86aced (diff) |
[analyzer] RetainCountChecker: remove unused SelfOwn ArgEffect kind.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159245 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp index fc21a1ba7d..6da8833b33 100644 --- a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp @@ -67,7 +67,7 @@ public: enum ArgEffect { DoNothing, Autorelease, Dealloc, DecRef, DecRefMsg, DecRefBridgedTransfered, IncRefMsg, IncRef, MakeCollectable, MayEscape, - NewAutoreleasePool, SelfOwn, StopTracking }; + NewAutoreleasePool, StopTracking }; namespace llvm { template <> struct FoldingSetTrait<ArgEffect> { @@ -3029,9 +3029,6 @@ RetainCountChecker::updateSymbol(ProgramStateRef state, SymbolRef sym, } break; - case SelfOwn: - V = V ^ RefVal::NotOwned; - // Fall-through. case DecRef: case DecRefBridgedTransfered: switch (V.getKind()) { |