[cfe-commits] r159245 - /cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
Jordan Rose
jordan_rose at apple.com
Tue Jun 26 17:51:18 PDT 2012
Author: jrose
Date: Tue Jun 26 19:51:18 2012
New Revision: 159245
URL: http://llvm.org/viewvc/llvm-project?rev=159245&view=rev
Log:
[analyzer] RetainCountChecker: remove unused SelfOwn ArgEffect kind.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp?rev=159245&r1=159244&r2=159245&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp Tue Jun 26 19:51:18 2012
@@ -67,7 +67,7 @@
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 @@
}
break;
- case SelfOwn:
- V = V ^ RefVal::NotOwned;
- // Fall-through.
case DecRef:
case DecRefBridgedTransfered:
switch (V.getKind()) {
More information about the cfe-commits
mailing list