diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-16 15:30:09 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-16 15:30:09 +0000 |
commit | ac95cc79ac0b899d566cc29c0f646f39c2fa35c0 (patch) | |
tree | a56cfb3fae390064970714d26d13dca84545c1fc /tools/llvmc | |
parent | ad60f660c6fd1999a3e21823128d37aca62e9285 (diff) |
Convert more tools code from cerr and cout to errs() and outs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r-- | tools/llvmc/example/Hello/Hello.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/llvmc/example/Hello/Hello.cpp b/tools/llvmc/example/Hello/Hello.cpp index 23a13a57c2..9c96bd0a41 100644 --- a/tools/llvmc/example/Hello/Hello.cpp +++ b/tools/llvmc/example/Hello/Hello.cpp @@ -13,13 +13,12 @@ #include "llvm/CompilerDriver/CompilationGraph.h" #include "llvm/CompilerDriver/Plugin.h" - -#include <iostream> +#include "llvm/Support/raw_ostream.h" namespace { struct MyPlugin : public llvmc::BasePlugin { void PopulateLanguageMap(llvmc::LanguageMap&) const - { std::cout << "Hello!\n"; } + { outs() << "Hello!\n"; } void PopulateCompilationGraph(llvmc::CompilationGraph&) const {} |