]> granicus.if.org Git - clang/commitdiff
Remove default value for 'Pred' argument to GRCoreEngineImpl::GenerateNode().
authorTed Kremenek <kremenek@apple.com>
Tue, 26 Aug 2008 22:34:23 +0000 (22:34 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 26 Aug 2008 22:34:23 +0000 (22:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55392 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRCoreEngine.h
lib/Analysis/GRCoreEngine.cpp

index 013a315376f4d2d34ae9f4ba9a1fff3c1bd21f4d..4f09c9089bb00e4364d7bde57fadac554f32d8f4 100644 (file)
@@ -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
index 1c64c28c37d88e72aa1ae2d289676725ffc13d51..a7e1458e7a17b1d3cec73c40a52e0106f1603828 100644 (file)
@@ -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()) {