diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-23 11:37:21 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-23 11:37:21 +0000 |
commit | 0588d2da0980b653e2862e8742e0fa7923b9f170 (patch) | |
tree | 3b2d0a185a206d9340c40ca55c8d65386ae7e07b /lib/Transforms/Hello/Hello.cpp | |
parent | 13cb441d7c9d404bdc84f28f076014ff2856bcd2 (diff) | |
download | external_llvm-0588d2da0980b653e2862e8742e0fa7923b9f170.zip external_llvm-0588d2da0980b653e2862e8742e0fa7923b9f170.tar.gz external_llvm-0588d2da0980b653e2862e8742e0fa7923b9f170.tar.bz2 |
Kill off more cerr/cout uses and prune includes a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Hello/Hello.cpp')
-rw-r--r-- | lib/Transforms/Hello/Hello.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Hello/Hello.cpp b/lib/Transforms/Hello/Hello.cpp index d07f613..8000d0d 100644 --- a/lib/Transforms/Hello/Hello.cpp +++ b/lib/Transforms/Hello/Hello.cpp @@ -16,7 +16,7 @@ #include "llvm/Pass.h" #include "llvm/Function.h" #include "llvm/ADT/StringExtras.h" -#include "llvm/Support/Streams.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/ADT/Statistic.h" using namespace llvm; @@ -32,7 +32,7 @@ namespace { HelloCounter++; std::string fname = F.getName(); EscapeString(fname); - cerr << "Hello: " << fname << "\n"; + errs() << "Hello: " << fname << "\n"; return false; } }; @@ -51,7 +51,7 @@ namespace { HelloCounter++; std::string fname = F.getName(); EscapeString(fname); - cerr << "Hello: " << fname << "\n"; + errs() << "Hello: " << fname << "\n"; return false; } |