From: Ted Kremenek Date: Sat, 9 May 2009 01:37:12 +0000 (+0000) Subject: Fix lurking bug in one of the versions of X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1c739bd4b7b2d6d8eca62579e2b18ac0261be08;p=clang Fix lurking bug in one of the versions of GRStmtNodeBuilder::generateNode() where the HasGeneratedNode flag wouldn't properly be set. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71306 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/GRCoreEngine.h b/include/clang/Analysis/PathSensitive/GRCoreEngine.h index 6a32a22a04..0fbdbde55b 100644 --- a/include/clang/Analysis/PathSensitive/GRCoreEngine.h +++ b/include/clang/Analysis/PathSensitive/GRCoreEngine.h @@ -206,6 +206,7 @@ public: } NodeTy* generateNode(PostStmt PP, const StateTy* St, NodeTy* Pred) { + HasGeneratedNode = true; return static_cast(NB.generateNodeImpl(PP, St, Pred)); }