]> granicus.if.org Git - clang/commit
Make StoreManager::CastRegion() virtual and implement a new CastRegion() for
authorZhongxing Xu <xuzhongxing@gmail.com>
Wed, 6 May 2009 02:42:32 +0000 (02:42 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Wed, 6 May 2009 02:42:32 +0000 (02:42 +0000)
commit889805931bdffe5eaf770bb9f926f738ccd18c0f
treeaa4ddc2c63d374db68b44d89658a89197120134b
parent63be57a832b2dab70592d1d9b37a5cd9a627356e
Make StoreManager::CastRegion() virtual and implement a new CastRegion() for
RegionStore.

This CastRegion() performs casts according to the kind of the region being
cast instead of the type that is cast to.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71058 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/PathSensitive/Store.h
lib/Analysis/RegionStore.cpp
test/Analysis/fields.c
test/Analysis/rdar-6541136-region.c