[cfe-commits] r74750 - /cfe/trunk/lib/Analysis/BasicStore.cpp
Ted Kremenek
kremenek at apple.com
Thu Jul 2 17:36:16 PDT 2009
Author: kremenek
Date: Thu Jul 2 19:36:16 2009
New Revision: 74750
URL: http://llvm.org/viewvc/llvm-project?rev=74750&view=rev
Log:
BasicStoreManager: Use SymbolManager::canSymbolicate() to determine if a variable can be symbolicated.
Modified:
cfe/trunk/lib/Analysis/BasicStore.cpp
Modified: cfe/trunk/lib/Analysis/BasicStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/BasicStore.cpp?rev=74750&r1=74749&r2=74750&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/BasicStore.cpp (original)
+++ cfe/trunk/lib/Analysis/BasicStore.cpp Thu Jul 2 19:36:16 2009
@@ -584,7 +584,7 @@
} 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);
}
More information about the cfe-commits
mailing list