diff options
| author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-09 13:36:16 +0000 |
|---|---|---|
| committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-09 13:36:16 +0000 |
| commit | b18d7cab0c3adb84bb9f19da488b04c31e2bdd2f (patch) | |
| tree | 1e132235729178d697c3dfc6eea71c6d247838d0 /clang/lib/Analysis | |
| parent | 4bc5a4c3bdcba4b39a1619804dd8a1f5b2490579 (diff) | |
| download | bcm5719-llvm-b18d7cab0c3adb84bb9f19da488b04c31e2bdd2f.tar.gz bcm5719-llvm-b18d7cab0c3adb84bb9f19da488b04c31e2bdd2f.zip | |
Do not create a TypedViewRegion when the base struct region is a symbolic
region. In the future we may set the cast-to type as the same time. But for
now, we simply leave it as it is.
llvm-svn: 71357
Diffstat (limited to 'clang/lib/Analysis')
| -rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 354ad5c57ab..aa09a60deb9 100644 --- a/clang/lib/Analysis/RegionStore.cpp +++ b/clang/lib/Analysis/RegionStore.cpp @@ -371,10 +371,6 @@ SVal RegionStoreManager::getLValueFieldOrIvar(const GRState* St, SVal Base, switch (BaseL.getSubKind()) { case loc::MemRegionKind: BaseR = cast<loc::MemRegionVal>(BaseL).getRegion(); - if (const SymbolicRegion* SR = dyn_cast<SymbolicRegion>(BaseR)) { - SymbolRef Sym = SR->getSymbol(); - BaseR = MRMgr.getTypedViewRegion(Sym->getType(getContext()), SR); - } break; case loc::GotoLabelKind: |

