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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71357
91177308-0d34-0410-b5e6-
96231b3b80d8
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: