diff options
-rw-r--r-- | clang/AST/StmtPrinter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/AST/StmtPrinter.cpp b/clang/AST/StmtPrinter.cpp index 9822e4789e6..1887468819c 100644 --- a/clang/AST/StmtPrinter.cpp +++ b/clang/AST/StmtPrinter.cpp @@ -19,7 +19,7 @@ #include "clang/AST/PrettyPrinter.h" #include "clang/Basic/IdentifierTable.h" #include "llvm/Support/Compiler.h" -#include <iostream> +#include "llvm/Support/Streams.h" #include <iomanip> using namespace clang; @@ -788,8 +788,7 @@ void StmtPrinter::VisitObjCMessageExpr(ObjCMessageExpr *Mess) { //===----------------------------------------------------------------------===// void Stmt::dumpPretty() const { - // FIXME: eliminate use of <iostream> - printPretty(std::cerr); + printPretty(*llvm::cerr.stream()); } void Stmt::printPretty(std::ostream &OS, PrinterHelper* Helper) const { |