]> granicus.if.org Git - clang/commit
Do not layer a TypedViewRegion when casting symbolic or alloca regions.
authorZhongxing Xu <xuzhongxing@gmail.com>
Sat, 9 May 2009 13:20:07 +0000 (13:20 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sat, 9 May 2009 13:20:07 +0000 (13:20 +0000)
commitce7607858fae388a04c8b727c18f3da9a577dd2f
treeb8ab6d7d3c486ec4f4bc13177671f0c1e70b010c
parentdb3a098c23865ee00b14379b49eb516212c19388
Do not layer a TypedViewRegion when casting symbolic or alloca regions.
Modify getLValueElement accordingly. Now we don't require base region
to be a typed region. Do not create TypedViewRegion when base region is
symbolic or alloca region. We can do so because each element region has
its type information.

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