summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-28 22:35:55 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-28 22:35:55 +0000
commitb4dd3f8685f5a15446cde1bc550bfc13335b62b8 (patch)
treec89436d6d28a53a8e2adb01aef561245d415f20d /clang/lib/Analysis
parent2e561dd4911b3d092f50a6cdcf5a89512249c8dd (diff)
downloadbcm5719-llvm-b4dd3f8685f5a15446cde1bc550bfc13335b62b8.tar.gz
bcm5719-llvm-b4dd3f8685f5a15446cde1bc550bfc13335b62b8.zip
Remove '#if 0' code.
llvm-svn: 63250
Diffstat (limited to 'clang/lib/Analysis')
-rw-r--r--clang/lib/Analysis/CFRefCount.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp
index 6f1b1036b30..35b7ee7b805 100644
--- a/clang/lib/Analysis/CFRefCount.cpp
+++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -1672,11 +1672,6 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
state.set<RefBindings>(Sym, RefVal::makeOwned(RE.getObjKind(), RetT));
state = state.BindExpr(Ex, loc::SymbolVal(Sym), false);
-#if 0
- RefBindings B = GetRefBindings(StImpl);
- SetRefBindings(StImpl, RefBFactory.Add(B, Sym, RefVal::makeOwned(RetT)));
-#endif
-
// FIXME: Add a flag to the checker where allocations are allowed to fail.
if (RE.getKind() == RetEffect::OwnedAllocatedSymbol) {
bool isFeasible;
OpenPOWER on IntegriCloud