Patch by Csaba Hruska!

"Here is a patch what replaces std::ostream with llvm::raw_ostream. This patch
covers the AST library, but ignores Analysis lib."


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56185 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/StmtViz.cpp b/lib/AST/StmtViz.cpp
index 51d514b..6790efb 100644
--- a/lib/AST/StmtViz.cpp
+++ b/lib/AST/StmtViz.cpp
@@ -33,7 +33,8 @@
   static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) {
     
 #ifndef NDEBUG
-    std::ostringstream Out;
+    std::string OutSStr;
+    llvm::raw_string_ostream Out(OutSStr);
     
     if (Node)
       Out << Node->getStmtClassName();