aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-04-20 06:35:22 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-04-20 06:35:22 +0000
commit5cbe5f9105eae5968229fa2d82fc258e61e27153 (patch)
tree05650ac02d268f5c03c74dc4f46d9d2134b07334 /lib/Analysis/RegionStore.cpp
parent8217f4ed9c652de1f29693eca3958a4a05863bdb (diff)
Remove loc::FuncVal.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r--lib/Analysis/RegionStore.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp
index 215fe1c281..40f7c48131 100644
--- a/lib/Analysis/RegionStore.cpp
+++ b/lib/Analysis/RegionStore.cpp
@@ -365,7 +365,6 @@ SVal RegionStoreManager::getLValueFieldOrIvar(const GRState* St, SVal Base,
break;
case loc::GotoLabelKind:
- case loc::FuncValKind:
// These are anormal cases. Flag an undefined value.
return UndefinedVal();
@@ -662,11 +661,6 @@ SVal RegionStoreManager::Retrieve(const GRState* St, Loc L, QualType T) {
if (isa<loc::ConcreteInt>(L))
return UndefinedVal();
- // FIXME: Should this be refactored into GRExprEngine or GRStateManager?
- // It seems that all StoreManagers would do the same thing here.
- if (isa<loc::FuncVal>(L))
- return L;
-
const MemRegion* MR = cast<loc::MemRegionVal>(L).getRegion();
// We return unknown for symbolic region for now. This might be improved.