diff options
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
-rw-r--r-- | lib/AST/CommentDumper.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp index 7a075a6748..5de5ef544f 100644 --- a/lib/AST/CommentDumper.cpp +++ b/lib/AST/CommentDumper.cpp @@ -181,14 +181,8 @@ void CommentDumper::visitFullComment(const FullComment *C) { } // unnamed namespace -void Comment::dump() const { - CommentDumper D(llvm::errs(), NULL); - D.dumpSubtree(this); - llvm::errs() << '\n'; -} - -void Comment::dump(SourceManager &SM) const { - CommentDumper D(llvm::errs(), &SM); +void Comment::dump(llvm::raw_ostream &OS, SourceManager *SM) const { + CommentDumper D(llvm::errs(), SM); D.dumpSubtree(this); llvm::errs() << '\n'; } |