aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-08-26 22:34:23 +0000
committerTed Kremenek <kremenek@apple.com>2008-08-26 22:34:23 +0000
commit38a23ba1938b3996718d028f3505bc5ef8c07abd (patch)
treef516c9f2652c5d3dfc80280557ba45c4b88d2bd5
parentc45ef600ed6f1544e8dfca2a3fa554eb7d6a9908 (diff)
Remove default value for 'Pred' argument to GRCoreEngineImpl::GenerateNode().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55392 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/GRCoreEngine.h2
-rw-r--r--lib/Analysis/GRCoreEngine.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRCoreEngine.h b/include/clang/Analysis/PathSensitive/GRCoreEngine.h
index 013a315376..4f09c9089b 100644
--- a/include/clang/Analysis/PathSensitive/GRCoreEngine.h
+++ b/include/clang/Analysis/PathSensitive/GRCoreEngine.h
@@ -62,7 +62,7 @@ protected:
GRBlockCounter::Factory BCounterFactory;
void GenerateNode(const ProgramPoint& Loc, const void* State,
- ExplodedNodeImpl* Pred = NULL);
+ ExplodedNodeImpl* Pred);
/// getInitialState - Gets the void* representing the initial 'state'
/// of the analysis. This is simply a wrapper (implemented
diff --git a/lib/Analysis/GRCoreEngine.cpp b/lib/Analysis/GRCoreEngine.cpp
index 1c64c28c37..a7e1458e7a 100644
--- a/lib/Analysis/GRCoreEngine.cpp
+++ b/lib/Analysis/GRCoreEngine.cpp
@@ -75,7 +75,7 @@ bool GRCoreEngineImpl::ExecuteWorkList(unsigned Steps) {
WList->setBlockCounter(BCounterFactory.GetEmptyCounter());
// Generate the root.
- GenerateNode(StartLoc, getInitialState());
+ GenerateNode(StartLoc, getInitialState(), 0);
}
while (Steps && WList->hasWork()) {