diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-01-06 19:12:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-01-06 19:12:06 +0000 |
commit | a21362d16c9f0a4f8ba6b0ebf248cb7965c11966 (patch) | |
tree | d0083caec945e61f573f5b60b8470f6a41f56dfa /lib/Analysis/RegionStore.cpp | |
parent | f0906c4edb37b20141428ca77fa7dfd00b976eaf (diff) |
Return UnknownVal in RegionStoreManager::getSizeInElements() for unsupported regions. This silences a warning when compiling Release-Asserts builds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 602d6bde1d..4e0215b997 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -431,6 +431,7 @@ SVal RegionStoreManager::getSizeInElements(const GRState* St, } assert(0 && "Other regions are not supported yet."); + return UnknownVal(); } /// ArrayToPointer - Emulates the "decay" of an array to a pointer |