aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-02-18 21:19:49 +0000
committerTed Kremenek <kremenek@apple.com>2008-02-18 21:19:49 +0000
commitf0c8ef0237ad135480b56c886abef1f137400cfc (patch)
tree4906f25e556d8ecf8239186b9b4515fb49ce3122
parentb41edf90f4a88d05a29f1bec7a79e3cd3979c317 (diff)
Temporary solution to push analysis through to analyzing PCRE.
We will implement symbol "unification" later. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47284 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Analysis/GRSimpleVals.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Analysis/GRSimpleVals.cpp b/Analysis/GRSimpleVals.cpp
index 558a87625e..58f0729a70 100644
--- a/Analysis/GRSimpleVals.cpp
+++ b/Analysis/GRSimpleVals.cpp
@@ -31,7 +31,7 @@ namespace clang {
CheckerState->setTransferFunctions(GRSV);
// Execute the worklist algorithm.
- Engine.ExecuteWorkList();
+ Engine.ExecuteWorkList(200);
// Look for explicit-Null dereferences and warn about them.
for (GRExprEngine::null_iterator I=CheckerState->null_begin(),
@@ -228,7 +228,9 @@ NonLValue GRSimpleVals::EvalEQ(ValueManager& ValMgr, LValue LHS, LValue RHS) {
return nonlval::SymIntConstraintVal(C);
}
- assert (!isa<lval::SymbolVal>(RHS) && "FIXME: Implement unification.");
+ // FIXME: Implement unification
+ return cast<NonLValue>(UnknownVal());
+ //assert (!isa<lval::SymbolVal>(RHS) && "FIXME: Implement unification.");
break;
}