forked from OSchip/llvm-project
As we now have ValueManager as the new value factory, we do not need factory
methods of SVal. llvm-svn: 69565
This commit is contained in:
parent
7de03e1950
commit
23e1f45664
|
@ -345,7 +345,7 @@ SVal ValueManager::getConjuredSymbolVal(const Expr* E, QualType T,
|
|||
SVal ValueManager::getFunctionPointer(const FunctionDecl* FD) {
|
||||
CodeTextRegion* R
|
||||
= MemMgr.getCodeTextRegion(FD, Context.getPointerType(FD->getType()));
|
||||
return Loc::MakeVal(R);
|
||||
return loc::MemRegionVal(R);
|
||||
}
|
||||
|
||||
nonloc::LocAsInteger nonloc::LocAsInteger::Make(BasicValueFactory& Vals, Loc V,
|
||||
|
|
Loading…
Reference in New Issue