summaryrefslogtreecommitdiff
path: root/lib/Transforms/Hello
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-26 09:17:06 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-26 09:17:06 +0000
commit62c804a3ea537a83f307ed9c2788138cc47cc2ed (patch)
tree4fa3d0ad83de69aa3cc9edbdd65ba28b78b06680 /lib/Transforms/Hello
parentf525eb905614b418939b6a49f9ee57caf15cc168 (diff)
Removed #include <iostream> and used the llvm_cerr/DOUT streams instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Hello')
-rw-r--r--lib/Transforms/Hello/Hello.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Hello/Hello.cpp b/lib/Transforms/Hello/Hello.cpp
index cfa879a32db..e02406d81d5 100644
--- a/lib/Transforms/Hello/Hello.cpp
+++ b/lib/Transforms/Hello/Hello.cpp
@@ -16,8 +16,8 @@
#include "llvm/Function.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/SlowOperationInformer.h"
+#include "llvm/Support/Streams.h"
#include "llvm/ADT/Statistic.h"
-#include <iostream>
using namespace llvm;
namespace {
@@ -30,7 +30,7 @@ namespace {
HelloCounter++;
std::string fname = F.getName();
EscapeString(fname);
- std::cerr << "Hello: " << fname << "\n";
+ llvm_cerr << "Hello: " << fname << "\n";
return false;
}
};
@@ -43,7 +43,7 @@ namespace {
HelloCounter++;
std::string fname = F.getName();
EscapeString(fname);
- std::cerr << "Hello: " << fname << "\n";
+ llvm_cerr << "Hello: " << fname << "\n";
return false;
}