summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/Printer.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-29 00:19:40 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-29 00:19:40 +0000
commitafd54eb8b63025955fca8c184ab78f7ed75414f7 (patch)
tree9eaaabde78fe455487783cdf40a0bebcb0352b6c /llvm/lib/Analysis/DataStructure/Printer.cpp
parenta531ac291cc4fb65f4d9573d08babf5ce8bd4a9d (diff)
downloadbcm5719-llvm-afd54eb8b63025955fca8c184ab78f7ed75414f7.tar.gz
bcm5719-llvm-afd54eb8b63025955fca8c184ab78f7ed75414f7.zip
Replacing std::iostreams with llvm iostreams. Some of these changes involve
adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. llvm-svn: 31990
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Printer.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/Printer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Printer.cpp b/llvm/lib/Analysis/DataStructure/Printer.cpp
index b425e4e4729..ef3ed755559 100644
--- a/llvm/lib/Analysis/DataStructure/Printer.cpp
+++ b/llvm/lib/Analysis/DataStructure/Printer.cpp
@@ -19,9 +19,10 @@
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/GraphWriter.h"
+#include "llvm/Support/Streams.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Config/config.h"
-#include <iostream>
+#include <ostream>
#include <fstream>
#include <sstream>
using namespace llvm;
@@ -36,7 +37,7 @@ namespace {
Statistic<> NumFoldedNodes ("dsa", "Number of folded nodes (in final graph)");
}
-void DSNode::dump() const { print(std::cerr, 0); }
+void DSNode::dump() const { print(llvm_cerr, 0); }
static std::string getCaption(const DSNode *N, const DSGraph *G) {
std::stringstream OS;
OpenPOWER on IntegriCloud