]> granicus.if.org Git - clang/commitdiff
[analyzer] Remove dead code.
authorAnna Zaks <ganna@apple.com>
Fri, 7 Oct 2011 22:35:23 +0000 (22:35 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 7 Oct 2011 22:35:23 +0000 (22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141432 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h

index e2ea13d1c52476e3929f964a48fcc1ac069e4636..350b669e67640bd18ae6047d8541d3ca8313d662 100644 (file)
@@ -202,13 +202,6 @@ public:
                                            B.getBlockID());
   }
 
-  ExplodedNode *generateNode(PostStmt PP,
-                             const ProgramState *St,
-                             ExplodedNode *Pred) {
-    hasGeneratedNode = true;
-    return generateNodeInternal(PP, St, Pred);
-  }
-
   ExplodedNode *generateNode(const Stmt *S,
                              const ProgramState *St,
                              ExplodedNode *Pred,
@@ -245,7 +238,7 @@ public:
   generateNodeInternal(const Stmt *S,
                        const ProgramState *State,
                        ExplodedNode *Pred,
-                       ProgramPoint::Kind K = ProgramPoint::PostStmtKind,
+                       ProgramPoint::Kind K,
                        const ProgramPointTag *tag = 0);
 
   /// getStmt - Return the current block-level expression associated with