[cfe-commits] r47284 - /cfe/trunk/Analysis/GRSimpleVals.cpp
Ted Kremenek
kremenek at apple.com
Mon Feb 18 13:19:50 PST 2008
Author: kremenek
Date: Mon Feb 18 15:19:49 2008
New Revision: 47284
URL: http://llvm.org/viewvc/llvm-project?rev=47284&view=rev
Log:
Temporary solution to push analysis through to analyzing PCRE.
We will implement symbol "unification" later.
Modified:
cfe/trunk/Analysis/GRSimpleVals.cpp
Modified: cfe/trunk/Analysis/GRSimpleVals.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/GRSimpleVals.cpp?rev=47284&r1=47283&r2=47284&view=diff
==============================================================================
--- cfe/trunk/Analysis/GRSimpleVals.cpp (original)
+++ cfe/trunk/Analysis/GRSimpleVals.cpp Mon Feb 18 15:19:49 2008
@@ -31,7 +31,7 @@
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 @@
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;
}
More information about the cfe-commits
mailing list