diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-10-14 23:58:34 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-10-14 23:58:34 +0000 |
commit | 3bc4ffd71b3ebb1e8efb7234a135c30cf815c404 (patch) | |
tree | 2610cb4b1a64076b93769790bd70b9307565bf23 /lib/Analysis/CFRefCount.cpp | |
parent | 9302da67eabe2e9ad27433994b6727d670839476 (diff) |
Remove stale comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 9b6125705d..eb1265dda7 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -3232,10 +3232,8 @@ void CFRefCount::EvalReturn(ExplodedNodeSet& Dst, // returned object is suppose to be an Objective-C object, we have // a leak (as the caller expects a GC'ed object) because no // method should return ownership unless it returns a CF object. - X = X ^ RefVal::ErrorGCLeakReturned; - - // Keep this false until this is properly tested. hasError = true; + X = X ^ RefVal::ErrorGCLeakReturned; } else if (!RE.isOwned()) { // Either we are using GC and the returned object is a CF type |