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/BasicStore.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/BasicStore.cpp')
-rw-r--r-- | lib/Analysis/BasicStore.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp index 67d919a6d6..8895954502 100644 --- a/lib/Analysis/BasicStore.cpp +++ b/lib/Analysis/BasicStore.cpp @@ -125,7 +125,6 @@ SVal BasicStoreManager::getLValueField(const GRState* St, SVal Base, break; 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 @@ -178,10 +177,6 @@ SVal BasicStoreManager::Retrieve(Store St, Loc LV, QualType T) { case loc::FuncValKind: return LV; - case loc::StringLiteralValKind: - // FIXME: Implement better support for fetching characters from strings. - return UnknownVal(); - default: assert (false && "Invalid Loc."); break; |