Bug fix in GREndPathNodeBuilderImpl: Use the specified state to construct
a node, not the state of the predecessor.
llvm-svn: 49823
diff --git a/clang/lib/Analysis/GRCoreEngine.cpp b/clang/lib/Analysis/GRCoreEngine.cpp
index 42c8927..ffb2fd2 100644
--- a/clang/lib/Analysis/GRCoreEngine.cpp
+++ b/clang/lib/Analysis/GRCoreEngine.cpp
@@ -448,7 +448,7 @@
bool IsNew;
ExplodedNodeImpl* Node =
- Eng.G->getNodeImpl(BlockEntrance(&B), Pred->State, &IsNew);
+ Eng.G->getNodeImpl(BlockEntrance(&B), State, &IsNew);
Node->addPredecessor(Pred);