From 6dea40475158edea3b64e1247b07b94db4f48dc8 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 4 Dec 2009 06:47:41 +0000 Subject: [PATCH] Revert r90546. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90551 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathSensitive/Checker.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/clang/Analysis/PathSensitive/Checker.h b/include/clang/Analysis/PathSensitive/Checker.h index 3238672e51..b380f1bf02 100644 --- a/include/clang/Analysis/PathSensitive/Checker.h +++ b/include/clang/Analysis/PathSensitive/Checker.h @@ -126,7 +126,8 @@ public: void addTransition(const GRState *state) { assert(state); - if (state != B.GetState(Pred)) + if (state != getState() || + (state && state != B.GetState(Pred))) GenerateNode(state, true); else Dst.Add(Pred);