Convert to using llvm streams instead of iostreams.
llvm-svn: 31989
diff --git a/llvm/lib/Analysis/DataStructure/CallTargets.cpp b/llvm/lib/Analysis/DataStructure/CallTargets.cpp
index 8b33cb0..5850749 100644
--- a/llvm/lib/Analysis/DataStructure/CallTargets.cpp
+++ b/llvm/lib/Analysis/DataStructure/CallTargets.cpp
@@ -23,9 +23,9 @@
#include "llvm/Analysis/DataStructure/DSGraph.h"
#include "llvm/Analysis/DataStructure/CallTargets.h"
#include "llvm/ADT/Statistic.h"
-#include <iostream>
+#include "llvm/Support/Streams.h"
+#include <ostream>
#include "llvm/Constants.h"
-
using namespace llvm;
namespace {
@@ -58,7 +58,7 @@
}
if (N->isComplete() && !IndMap[cs].size()) {
++CompleteEmpty;
- std::cerr << "Call site empty: '"
+ llvm_cerr << "Call site empty: '"
<< cs.getInstruction()->getName()
<< "' In '"
<< cs.getInstruction()->getParent()->getParent()->getName()