[cfe-commits] r71306 - /cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h

Ted Kremenek kremenek at apple.com
Fri May 8 18:37:13 PDT 2009


Author: kremenek
Date: Fri May  8 20:37:12 2009
New Revision: 71306

URL: http://llvm.org/viewvc/llvm-project?rev=71306&view=rev
Log:
Fix lurking bug in one of the versions of
GRStmtNodeBuilder::generateNode() where the HasGeneratedNode flag
wouldn't properly be set.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h?rev=71306&r1=71305&r2=71306&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h Fri May  8 20:37:12 2009
@@ -206,6 +206,7 @@
   }
   
   NodeTy* generateNode(PostStmt PP, const StateTy* St, NodeTy* Pred) {
+    HasGeneratedNode = true;
     return static_cast<NodeTy*>(NB.generateNodeImpl(PP, St, Pred));
   }
   





More information about the cfe-commits mailing list