From 0a095fb9f9962e3ea668b046c314555478fd9aa6 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Mon, 20 Apr 2009 02:27:09 +0000 Subject: [PATCH] As we now have ValueManager as the new value factory, we do not need factory methods of SVal. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69565 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/SVals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/SVals.cpp b/lib/Analysis/SVals.cpp index e911d2c097..240280f68a 100644 --- a/lib/Analysis/SVals.cpp +++ b/lib/Analysis/SVals.cpp @@ -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, -- 2.50.1