[cfe-commits] r76262 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Fri Jul 17 16:48:27 PDT 2009
Author: kremenek
Date: Fri Jul 17 18:48:26 2009
New Revision: 76262
URL: http://llvm.org/viewvc/llvm-project?rev=76262&view=rev
Log:
Fix caching bug revealed by analyzing ClamAV using RegionStore.
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=76262&r1=76261&r2=76262&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Fri Jul 17 18:48:26 2009
@@ -2205,8 +2205,7 @@
if (InitEx)
Visit(InitEx, Pred, Tmp);
-
- if (Tmp.empty())
+ else
Tmp.Add(Pred);
for (NodeSet::iterator I=Tmp.begin(), E=Tmp.end(); I!=E; ++I) {
More information about the cfe-commits
mailing list