summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/GRCXXExprEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Checker/GRCXXExprEngine.cpp')
-rw-r--r--clang/lib/Checker/GRCXXExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/GRCXXExprEngine.cpp b/clang/lib/Checker/GRCXXExprEngine.cpp
index 6a1aa1b2745..00ac9955928 100644
--- a/clang/lib/Checker/GRCXXExprEngine.cpp
+++ b/clang/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);
}
}
OpenPOWER on IntegriCloud