aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BasicStore.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/BasicStore.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/BasicStore.cpp')
-rw-r--r--lib/Analysis/BasicStore.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp
index 9047d9d8a9..cf8d3176c4 100644
--- a/lib/Analysis/BasicStore.cpp
+++ b/lib/Analysis/BasicStore.cpp
@@ -200,8 +200,6 @@ SVal BasicStoreManager::getLValueField(const GRState* St, SVal Base,
switch(BaseL.getSubKind()) {
case loc::GotoLabelKind:
- case loc::FuncValKind:
- // Technically we can get here if people do funny things with casts.
return UndefinedVal();
case loc::MemRegionKind:
@@ -234,7 +232,6 @@ SVal BasicStoreManager::getLValueElement(const GRState* St, SVal Base,
switch(BaseL.getSubKind()) {
case loc::GotoLabelKind:
- case loc::FuncValKind:
// Technically we can get here if people do funny things with casts.
return UndefinedVal();
@@ -338,8 +335,6 @@ SVal BasicStoreManager::Retrieve(const GRState* state, Loc loc, QualType T) {
// they are doing a quick scan through their Locs (potentially to
// invalidate their bindings). Just return Undefined.
return UndefinedVal();
- case loc::FuncValKind:
- return loc;
default:
assert (false && "Invalid Loc.");