[cfe-commits] r61818 - /cfe/trunk/lib/Analysis/RegionStore.cpp
Ted Kremenek
kremenek at apple.com
Tue Jan 6 11:12:07 PST 2009
Author: kremenek
Date: Tue Jan 6 13:12:06 2009
New Revision: 61818
URL: http://llvm.org/viewvc/llvm-project?rev=61818&view=rev
Log:
Return UnknownVal in RegionStoreManager::getSizeInElements() for unsupported regions. This silences a warning when compiling Release-Asserts builds.
Modified:
cfe/trunk/lib/Analysis/RegionStore.cpp
Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=61818&r1=61817&r2=61818&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Tue Jan 6 13:12:06 2009
@@ -431,6 +431,7 @@
}
assert(0 && "Other regions are not supported yet.");
+ return UnknownVal();
}
/// ArrayToPointer - Emulates the "decay" of an array to a pointer
More information about the cfe-commits
mailing list