aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/SVals.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-04-20 02:27:09 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-04-20 02:27:09 +0000
commit0a095fb9f9962e3ea668b046c314555478fd9aa6 (patch)
tree42d2ec800f69e086ba7b8375aaa551c6304cb758 /lib/Analysis/SVals.cpp
parent0272b56daef094f74613c7838f48de8ebd1c6e79 (diff)
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
Diffstat (limited to 'lib/Analysis/SVals.cpp')
-rw-r--r--lib/Analysis/SVals.cpp2
1 files changed, 1 insertions, 1 deletions
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,