aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/GRCXXExprEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-04-21 02:20:10 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-04-21 02:20:10 +0000
commit978b935b069e9379e554a2126a525e7b9f458f62 (patch)
tree25f67882722a397e80137da1f7a4a821ac3921c2 /lib/Checker/GRCXXExprEngine.cpp
parent6b8513829895e56a7b97e787ea74520bc626512e (diff)
Use the right predecessor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRCXXExprEngine.cpp')
-rw-r--r--lib/Checker/GRCXXExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/GRCXXExprEngine.cpp b/lib/Checker/GRCXXExprEngine.cpp
index 6a1aa1b274..00ac995592 100644
--- a/lib/Checker/GRCXXExprEngine.cpp
+++ b/lib/Checker/GRCXXExprEngine.cpp
@@ -216,7 +216,7 @@ void GRExprEngine::VisitCXXNewExpr(CXXNewExpr *CNE, ExplodedNode *Pred,
}
}
state = state->BindExpr(CNE, loc::MemRegionVal(EleReg));
- MakeNode(Dst, CNE, Pred, state);
+ MakeNode(Dst, CNE, *I, state);
}
}