From c1c739bd4b7b2d6d8eca62579e2b18ac0261be08 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Sat, 9 May 2009 01:37:12 +0000 Subject: [PATCH] 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 --- include/clang/Analysis/PathSensitive/GRCoreEngine.h | 1 + 1 file changed, 1 insertion(+) 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)); } -- 2.40.0