]> granicus.if.org Git - clang/commitdiff
Remove unused utility methods of GRStmtNodeBuilder.
authorZhongxing Xu <xuzhongxing@gmail.com>
Thu, 27 Aug 2009 08:52:44 +0000 (08:52 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Thu, 27 Aug 2009 08:52:44 +0000 (08:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80236 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRCoreEngine.h

index 36b52f135fb8642b8bf54bcc6d469ae5796bf6a9..aae87c00c327e2465368a24b8d39d7f4733d0664 100644 (file)
@@ -190,17 +190,6 @@ public:
   ExplodedNode* generateNode(const Stmt* S, const GRState* St, ExplodedNode* Pred) {
     return generateNode(S, St, Pred, PointKind);
   }
-  
-  ExplodedNode* generateNode(const Stmt* S, const GRState* St, ProgramPoint::Kind K) {
-    HasGeneratedNode = true;
-    if (PurgingDeadSymbols) 
-      K = ProgramPoint::PostPurgeDeadSymbolsKind;      
-    return generateNodeInternal(S, St, K, Tag);
-  }
-  
-  ExplodedNode* generateNode(const Stmt* S, const GRState* St) {
-    return generateNode(S, St, PointKind);
-  }
 
   ExplodedNode*
   generateNodeInternal(const ProgramPoint &PP, const GRState* State,
@@ -211,15 +200,6 @@ public:
                    ProgramPoint::Kind K = ProgramPoint::PostStmtKind,
                    const void *tag = 0);
 
-  ExplodedNode*
-  generateNodeInternal(const Stmt* S, const GRState* State,
-                   ProgramPoint::Kind K = ProgramPoint::PostStmtKind,
-                   const void *tag = 0) {
-    ExplodedNode* N = getLastNode();
-    assert (N && "Predecessor of new node is infeasible.");
-    return generateNodeInternal(S, State, N, K, tag);
-  }
-  
   ExplodedNode*
   generateNodeInternal(const Stmt* S,const GRState* State,const void *tag = 0) {
     ExplodedNode* N = getLastNode();