[cfe-commits] r89903 - /cfe/trunk/lib/Analysis/Store.cpp
Ted Kremenek
kremenek at apple.com
Wed Nov 25 15:58:21 PST 2009
Author: kremenek
Date: Wed Nov 25 17:58:21 2009
New Revision: 89903
URL: http://llvm.org/viewvc/llvm-project?rev=89903&view=rev
Log:
Add missing case in switch statement.
Modified:
cfe/trunk/lib/Analysis/Store.cpp
Modified: cfe/trunk/lib/Analysis/Store.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/Store.cpp?rev=89903&r1=89902&r2=89903&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/Store.cpp (original)
+++ cfe/trunk/lib/Analysis/Store.cpp Wed Nov 25 17:58:21 2009
@@ -87,7 +87,8 @@
}
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.
More information about the cfe-commits
mailing list