diff options
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
| -rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 215fe1c2814..40f7c481317 100644 --- a/clang/lib/Analysis/RegionStore.cpp +++ b/clang/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. |

