aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/GRCXXExprEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-11-26 08:52:48 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-11-26 08:52:48 +0000
commit02fe28c8a6da29d4ad88d0900c133dcf22d24a75 (patch)
tree7fa1629d48d86a7cf937238ee063c6441c3b4f22 /lib/Checker/GRCXXExprEngine.cpp
parent755f6bcfd7ee68b7d51589e9bb259ebbe60add72 (diff)
Rename CXXObjectRegion to CXXTempObjectRegion.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRCXXExprEngine.cpp')
-rw-r--r--lib/Checker/GRCXXExprEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Checker/GRCXXExprEngine.cpp b/lib/Checker/GRCXXExprEngine.cpp
index 2dd03b2782..a60af37c0a 100644
--- a/lib/Checker/GRCXXExprEngine.cpp
+++ b/lib/Checker/GRCXXExprEngine.cpp
@@ -95,7 +95,7 @@ void GRExprEngine::CreateCXXTemporaryObject(const Expr *Ex, ExplodedNode *Pred,
SVal V = state->getSVal(Ex);
const MemRegion *R =
- ValMgr.getRegionManager().getCXXObjectRegion(Ex,
+ ValMgr.getRegionManager().getCXXTempObjectRegion(Ex,
Pred->getLocationContext());
state = state->bindLoc(loc::MemRegionVal(R), V);
@@ -108,7 +108,7 @@ void GRExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *E,
ExplodedNode *Pred,
ExplodedNodeSet &Dst, bool asLValue) {
if (!Dest)
- Dest = ValMgr.getRegionManager().getCXXObjectRegion(E,
+ Dest = ValMgr.getRegionManager().getCXXTempObjectRegion(E,
Pred->getLocationContext());
if (E->isElidable()) {