diff options
-rw-r--r-- | AST/StmtDumper.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/AST/StmtDumper.cpp b/AST/StmtDumper.cpp index c6ab29880d..b36c80b237 100644 --- a/AST/StmtDumper.cpp +++ b/AST/StmtDumper.cpp @@ -102,7 +102,6 @@ namespace { // Stmts. void VisitStmt(Stmt *Node); - void VisitDeclStmt(DeclStmt *Node); void VisitLabelStmt(LabelStmt *Node); void VisitGotoStmt(GotoStmt *Node); @@ -233,20 +232,6 @@ void StmtDumper::DumpDeclarator(Decl *D) { } } -void StmtDumper::VisitDeclStmt(DeclStmt *Node) { - DumpStmt(Node); - fprintf(F, "\n"); - for (ScopedDecl *D = Node->getDecl(); D; D = D->getNextDeclarator()) { - ++IndentLevel; - Indent(); - fprintf(F, "%p ", (void*)D); - DumpDeclarator(D); - if (D->getNextDeclarator()) - fprintf(F, "\n"); - --IndentLevel; - } -} - void StmtDumper::VisitLabelStmt(LabelStmt *Node) { DumpStmt(Node); fprintf(F, " '%s'\n", Node->getName()); |