]> granicus.if.org Git - clang/commitdiff
Patch by Zhongxing Xu: We should set back the modified ConstEq map.
authorTed Kremenek <kremenek@apple.com>
Wed, 20 Aug 2008 16:59:15 +0000 (16:59 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 20 Aug 2008 16:59:15 +0000 (16:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55060 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRState.cpp

index 23467e2046dab4f18f352da93bf167a4b57a3187..c9494fe7ea82548a2c4ce47374416226a7333f50 100644 (file)
@@ -144,7 +144,8 @@ GRStateManager::RemoveDeadBindings(const GRState* St, Stmt* Loc,
       CE = CEFactory.Remove(CE, sym);
     }
   }
-  
+  state = state.set<ConstEqTy>(CE);
+
   ConstNotEqTy CNE = state.get<ConstNotEqTy>();
   ConstNotEqTy::Factory& CNEFactory = state.get_context<ConstNotEqTy>();