summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-11-20 06:53:12 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-11-20 06:53:12 +0000
commit2c966716ff40c9f1e2f8c128415d1567b1525c48 (patch)
tree9bd4cf3f7f46a028d18a54a7e3867dd0eec01adc /clang/lib/Checker/RegionStore.cpp
parentada75c5ad10b01dae20169f18b329a7860052d74 (diff)
downloadbcm5719-llvm-2c966716ff40c9f1e2f8c128415d1567b1525c48.tar.gz
bcm5719-llvm-2c966716ff40c9f1e2f8c128415d1567b1525c48.zip
Handle CFGAutomaticObjDtor.
llvm-svn: 119897
Diffstat (limited to 'clang/lib/Checker/RegionStore.cpp')
-rw-r--r--clang/lib/Checker/RegionStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/RegionStore.cpp b/clang/lib/Checker/RegionStore.cpp
index 7808872f5dd..144c925b8c1 100644
--- a/clang/lib/Checker/RegionStore.cpp
+++ b/clang/lib/Checker/RegionStore.cpp
@@ -1828,7 +1828,7 @@ Store RegionStoreManager::EnterStackFrame(const GRState *state,
store = Bind(store, ValMgr.makeLoc(MRMgr.getVarRegion(*PI,frame)),ArgVal);
}
} else
- llvm_unreachable("Unhandled call expression.");
+ assert(isa<CXXDestructorDecl>(frame->getDecl()));
return store;
}
OpenPOWER on IntegriCloud