Replace stmt visitors with the fall back method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76294 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/CallGraph.cpp b/lib/Analysis/CallGraph.cpp
index b4f57b8..cf8f620 100644
--- a/lib/Analysis/CallGraph.cpp
+++ b/lib/Analysis/CallGraph.cpp
@@ -33,27 +33,7 @@
CGBuilder(CallGraph &g, FunctionDecl *fd, Entity *E, CallGraphNode *N)
: G(g), FD(fd), CallerEnt(E), CallerNode(N) {}
- void VisitCompoundStmt(CompoundStmt *S) { VisitChildren(S); }
-
- void VisitCastStmt(CaseStmt *S) { VisitChildren(S); }
-
- void VisitDefaultStmt(DefaultStmt *S) { VisitChildren(S); }
-
- void VisitLabelStmt(LabelStmt *S) { VisitChildren(S); }
-
- void VisitIfStmt(IfStmt *S) { VisitChildren(S); }
-
- void VisitSwitchStmt(SwitchStmt *S) { VisitChildren(S); }
-
- void VisitDoStmt(DoStmt *S) { VisitChildren(S); }
-
- void VisitForStmt(ForStmt *S) { VisitChildren(S); }
-
- void VisitIndirectGotoStmt(IndirectGotoStmt *S) { VisitChildren(S); }
-
- void VisitReturnStmt(ReturnStmt *S) { VisitChildren(S); }
-
- void VisitDeclStmt(DeclStmt *S) { VisitChildren(S); }
+ void VisitStmt(Stmt *S) { VisitChildren(S); }
void VisitCallExpr(CallExpr *CE);