From: Ted Kremenek Date: Tue, 26 Aug 2008 22:34:23 +0000 (+0000) Subject: Remove default value for 'Pred' argument to GRCoreEngineImpl::GenerateNode(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38a23ba1938b3996718d028f3505bc5ef8c07abd;p=clang 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 --- 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()) {