[cfe-commits] r89060 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Zhongxing Xu xuzhongxing at gmail.com
Mon Nov 16 23:19:51 PST 2009


Author: zhongxingxu
Date: Tue Nov 17 01:19:51 2009
New Revision: 89060

URL: http://llvm.org/viewvc/llvm-project?rev=89060&view=rev
Log:
Clear the dest set.

Modified:
    cfe/trunk/lib/Analysis/GRExprEngine.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=89060&r1=89059&r2=89060&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Tue Nov 17 01:19:51 2009
@@ -333,6 +333,7 @@
         ExplodedNodeSet *DstSet = (I+1 == E) ? &Tmp
                                               : (SrcSet == &Tmp2) ? &Tmp3 
                                                                   : &Tmp2;
+        DstSet->clear();
         void *tag = I->first;
         Checker *checker = I->second;
         for (ExplodedNodeSet::iterator NI = SrcSet->begin(), NE = SrcSet->end();





More information about the cfe-commits mailing list