diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-29 21:43:22 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-29 21:43:22 +0000 |
commit | f7a0cf426eddae76e1a71dd2295631a2cf0560af (patch) | |
tree | da740e164bd7a40f49e72712c45867909f4962a1 /lib/Analysis/RegionStore.cpp | |
parent | b7b6c4c6c72f817df4485329221b4de721a62340 (diff) |
Remove 'StoreManager::OldCastRegion()', TypedViewRegion (which only
OldCastRegion used), and the associated command line option
'-analyzer-store=old-basic-cast'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index c533a7ec07..ccfbb27ccf 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -170,7 +170,7 @@ class VISIBILITY_HIDDEN RegionStoreManager : public StoreManager { public: RegionStoreManager(GRStateManager& mgr, const RegionStoreFeatures &f) - : StoreManager(mgr, true), + : StoreManager(mgr), Features(f), RBFactory(mgr.getAllocator()), RVFactory(mgr.getAllocator()), @@ -679,10 +679,6 @@ SVal RegionStoreManager::getSizeInElements(const GRState *state, return ValMgr.makeIntVal(Str->getByteLength()+1, false); } - // TypedViewRegion will soon be removed. - case MemRegion::TypedViewRegionKind: - return UnknownVal(); - case MemRegion::VarRegionKind: { const VarRegion* VR = cast<VarRegion>(R); // Get the type of the variable. @@ -823,10 +819,6 @@ SVal RegionStoreManager::EvalBinOp(const GRState *state, case MemRegion::ObjCIvarRegionKind: return UnknownVal(); - // TypedViewRegion will soon be removed. - case MemRegion::TypedViewRegionKind: - return UnknownVal(); - case MemRegion::CodeTextRegionKind: // Technically this can happen if people do funny things with casts. return UnknownVal(); |