aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-03 00:36:16 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-03 00:36:16 +0000
commitf6c9f42966f1c709b71c4f52a1f56557846a12d4 (patch)
tree6c7c4ac1ba7d5a4b416dcf391524a37f48c2c906
parented47fc67b8eeabacbbbdf853ba45f4900619904b (diff)
BasicStoreManager: Use SymbolManager::canSymbolicate() to determine if a variable can be symbolicated.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74750 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/BasicStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp
index ccaffc3627..19d641ee97 100644
--- a/lib/Analysis/BasicStore.cpp
+++ b/lib/Analysis/BasicStore.cpp
@@ -584,7 +584,7 @@ Store BasicStoreManager::BindDeclInternal(Store store, const VarDecl* VD,
} else {
// Process local scalar variables.
QualType T = VD->getType();
- if (Loc::IsLocType(T) || T->isIntegerType()) {
+ if (ValMgr.getSymbolManager().canSymbolicate(T)) {
SVal V = InitVal ? *InitVal : UndefinedVal();
store = BindInternal(store, getLoc(VD), V);
}