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 | 8070b82d9115ea4db08a650c8a787e99d04f34dc (patch) | |
tree | 38d221a3c45e50e133bc4d8464581cb9644eeec9 /clang/lib/Analysis/CFRefCount.cpp | |
parent | ba8e1ac3a1241e42d5e38cc52b4333d536c7cd68 (diff) | |
download | bcm5719-llvm-8070b82d9115ea4db08a650c8a787e99d04f34dc.tar.gz bcm5719-llvm-8070b82d9115ea4db08a650c8a787e99d04f34dc.zip |
Remove stale comment.
llvm-svn: 84157
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 9b6125705d9..eb1265dda7e 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/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 |