diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-25 23:58:21 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-25 23:58:21 +0000 |
commit | bf0fe6c5b7bd7bc67b6b3ef0acb22bf4811f2a1b (patch) | |
tree | 4687542b84ddf333f58592eadb3faf96d32ce808 /lib/Analysis/Store.cpp | |
parent | 0a8112a78d00b5140c5b7f16c3b34c2c0c13c1a0 (diff) |
Add missing case in switch statement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/Store.cpp')
-rw-r--r-- | lib/Analysis/Store.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/Store.cpp b/lib/Analysis/Store.cpp index 14f55fd75f..2fd573c476 100644 --- a/lib/Analysis/Store.cpp +++ b/lib/Analysis/Store.cpp @@ -87,7 +87,8 @@ const MemRegion *StoreManager::CastRegion(const MemRegion *R, QualType CastToTy) } case MemRegion::FunctionTextRegionKind: - case MemRegion::BlockTextRegionKind: { + case MemRegion::BlockTextRegionKind: + case MemRegion::BlockDataRegionKind: { // CodeTextRegion should be cast to only a function or block pointer type, // although they can in practice be casted to anything, e.g, void*, char*, // etc. |