forked from OSchip/llvm-project
parent
55452c2bea
commit
57fa7e3cc8
|
@ -838,7 +838,8 @@ SVal RegionStoreManager::Retrieve(const GRState *state, Loc L, QualType T) {
|
|||
SVal idx = ValMgr.makeIntVal(0, Ctx.IntTy);
|
||||
R = MRMgr.getElementRegion(T, idx, R, Ctx);
|
||||
RTy = T;
|
||||
assert(RTy == R->getValueType(Ctx));
|
||||
assert(Ctx.getCanonicalType(RTy) ==
|
||||
Ctx.getCanonicalType(R->getValueType(Ctx)));
|
||||
}
|
||||
|
||||
if (RTy->isStructureType())
|
||||
|
|
Loading…
Reference in New Issue