]> granicus.if.org Git - clang/commitdiff
Remove '#if 0' code.
authorTed Kremenek <kremenek@apple.com>
Wed, 28 Jan 2009 04:37:52 +0000 (04:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 28 Jan 2009 04:37:52 +0000 (04:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63176 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

index bfc9d9058b3caa304a1818b05f524bbf3c9c1618..0f2208bd89bd39adbe16c3a32feb97d37ea13020 100644 (file)
@@ -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());