From 5cbe5f9105eae5968229fa2d82fc258e61e27153 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Mon, 20 Apr 2009 06:35:22 +0000 Subject: Remove loc::FuncVal. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69577 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BasicStore.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/Analysis/BasicStore.cpp') 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."); -- cgit v1.2.3