]> granicus.if.org Git - clang/commit
For now, return UnknownVal() in RegionStore::getElementsSize() for AnonTypedRegions...
authorTed Kremenek <kremenek@apple.com>
Thu, 22 Jan 2009 23:56:56 +0000 (23:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 22 Jan 2009 23:56:56 +0000 (23:56 +0000)
commit2e84257c699cd8e98462021b4848e76967ac831d
treee18aac7efe2a76d8402580bf8ab23354e94d40d5
parent6f78c3b8b9343e7e9fbf2d457cccf00df6da5d47
For now, return UnknownVal() in RegionStore::getElementsSize() for AnonTypedRegions.  It wasn't really doing the right thing and was crashing on rdar-6442306-1.m.  This fix causes all path-sensitive test cases to pass with RegionStore.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62816 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/RegionStore.cpp
test/Analysis/NoReturn.m
test/Analysis/rdar-6442306-1.m