forked from OSchip/llvm-project
parent
4a8f0cf874
commit
0c87a4e79b
|
@ -1888,7 +1888,9 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
|
|||
QualType RetT = GetReturnType(Ex, Eng.getContext());
|
||||
state =
|
||||
state.set<RefBindings>(Sym, RefVal::makeOwned(RE.getObjKind(), RetT));
|
||||
state = state.BindExpr(Ex, loc::SymbolVal(Sym), false);
|
||||
MemRegionManager& MRMgr = Eng.getStoreManager().getRegionManager();
|
||||
state = state.BindExpr(Ex, Loc::MakeVal(MRMgr.getSymbolicRegion(Sym)),
|
||||
false);
|
||||
|
||||
|
||||
// FIXME: Add a flag to the checker where allocations are assumed to
|
||||
|
|
Loading…
Reference in New Issue