]> granicus.if.org Git - clang/commit
When casting VarRegion, if the var type is aggregate type and the cast-to
authorZhongxing Xu <xuzhongxing@gmail.com>
Sat, 9 May 2009 15:34:29 +0000 (15:34 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sat, 9 May 2009 15:34:29 +0000 (15:34 +0000)
commit5bf3287765d14b5c6666bd00d0a141b0a6c97a20
treef413e49ca9cdfd40fddbf0eb1ca61a8527260007
parent75eb5baa374316f54785a0f4c83809536ac9421c
When casting VarRegion, if the var type is aggregate type and the cast-to
pointee type is scalar type, create element region regardless with the sizes
of types.

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