summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/Store.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-25 23:58:21 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-25 23:58:21 +0000
commit1646cf6d0584fe9a30eb45c343af5a23a0f15e37 (patch)
treeb84250bfe3e5163c35fe8b78a64e5257ce76843d /clang/lib/Analysis/Store.cpp
parentb63ad7a6c1bb28a3a9aaecde44f8f5fe5097b98d (diff)
downloadbcm5719-llvm-1646cf6d0584fe9a30eb45c343af5a23a0f15e37.tar.gz
bcm5719-llvm-1646cf6d0584fe9a30eb45c343af5a23a0f15e37.zip
Add missing case in switch statement.
llvm-svn: 89903
Diffstat (limited to 'clang/lib/Analysis/Store.cpp')
-rw-r--r--clang/lib/Analysis/Store.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Analysis/Store.cpp b/clang/lib/Analysis/Store.cpp
index 14f55fd75fa..2fd573c4764 100644
--- a/clang/lib/Analysis/Store.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud