From: Zhongxing Xu Date: Wed, 21 Apr 2010 02:20:10 +0000 (+0000) Subject: Use the right predecessor. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=978b935b069e9379e554a2126a525e7b9f458f62;p=clang Use the right predecessor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101981 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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); } }