From 38a23ba1938b3996718d028f3505bc5ef8c07abd Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 26 Aug 2008 22:34:23 +0000 Subject: [PATCH] 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 --- include/clang/Analysis/PathSensitive/GRCoreEngine.h | 2 +- lib/Analysis/GRCoreEngine.cpp | 2 +- 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()) { -- 2.50.1