Add missing case in switch statement.

llvm-svn: 89903
This commit is contained in:
Ted Kremenek 2009-11-25 23:58:21 +00:00
parent b63ad7a6c1
commit 1646cf6d05
1 changed files with 2 additions and 1 deletions

View File

@ -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.