diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-26 02:27:21 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-26 02:27:21 +0000 |
commit | 197fa58ab40e3fee2137715e96d9bb1c59340837 (patch) | |
tree | 65b0f6fdeaba9695f5e4c3035f7dcf9267a626e4 /lib/Analysis/RegionStore.cpp | |
parent | 0b7e642397e973f32d11b6066ef4bbbde59d6668 (diff) |
Remove loc::StringLiteralVal. Now we allocate regions for string literals in the Store.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 84f543ede4..0a31bc8f5d 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -149,7 +149,6 @@ SVal RegionStoreManager::getLValueField(const GRState* St, SVal Base, return UndefinedVal(); case loc::ConcreteIntKind: - case loc::StringLiteralValKind: // While these seem funny, this can happen through casts. // FIXME: What we should return is the field offset. For example, // add the field offset to the integer value. That way funny things @@ -227,9 +226,6 @@ SVal RegionStoreManager::Retrieve(Store S, Loc L, QualType T) { case loc::FuncValKind: return L; - case loc::StringLiteralValKind: - return UnknownVal(); - default: assert(false && "Invalid Location"); break; |