summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-28 04:37:52 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-28 04:37:52 +0000
commit99ae4120d69e2e895aed8db1eb213679acb3c325 (patch)
tree7e46be083999f99495beab683873ea22bf3c5d97 /clang/lib/Analysis/CFRefCount.cpp
parent062115af595b7605447a9be6f96ef2a2b50d6f71 (diff)
downloadbcm5719-llvm-99ae4120d69e2e895aed8db1eb213679acb3c325.tar.gz
bcm5719-llvm-99ae4120d69e2e895aed8db1eb213679acb3c325.zip
Remove '#if 0' code.
llvm-svn: 63176
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-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 bfc9d9058b3..0f2208bd89b 100644
--- a/clang/lib/Analysis/CFRefCount.cpp
+++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -1524,10 +1524,6 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
}
}
else if (isa<Loc>(V)) {
-#if 0
- // Nuke all arguments passed by reference.
- StateMgr.Unbind(StVals, cast<Loc>(V));
-#else
if (loc::MemRegionVal* MR = dyn_cast<loc::MemRegionVal>(&V)) {
if (GetArgE(Summ, idx) == DoNothingByRef)
@@ -1588,7 +1584,6 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
// Nuke all other arguments passed by reference.
state = state.Unbind(cast<Loc>(V));
}
-#endif
}
else if (isa<nonloc::LocAsInteger>(V))
state = state.Unbind(cast<nonloc::LocAsInteger>(V).getLoc());
OpenPOWER on IntegriCloud