]> granicus.if.org Git - clang/commit
Improve RegionStoreManager::getSizeInElements()
authorZhongxing Xu <xuzhongxing@gmail.com>
Wed, 6 May 2009 11:51:48 +0000 (11:51 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Wed, 6 May 2009 11:51:48 +0000 (11:51 +0000)
commit41fd01809e67eb1bd24b4ea2d8047078104249e6
treed82cc8c2d9f14ef170b157e42f58150c9415ca7c
parent33c37b9b87453c835cd0e32a4a65db329da20356
Improve RegionStoreManager::getSizeInElements()
 - add a static function getTypeWidth(), which computes the width of a type
   with the help of TargetInfo.
 - no-outofbounds.c now passes for region store.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71080 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/RegionStore.cpp
test/Analysis/xfail-no-outofbounds.c