summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-16 15:30:09 +0000
committerDan Gohman <gohman@apple.com>2009-07-16 15:30:09 +0000
commitee05152cfa17c2f746134d46f045ef751510abdb (patch)
tree63c5c577f09472c8614c09312eac58786bc89b7e /llvm/tools/llvmc
parentf199ad6ebc57e3312a41d8750b8621b985cbb25a (diff)
downloadbcm5719-llvm-ee05152cfa17c2f746134d46f045ef751510abdb.tar.gz
bcm5719-llvm-ee05152cfa17c2f746134d46f045ef751510abdb.zip
Convert more tools code from cerr and cout to errs() and outs().
llvm-svn: 76070
Diffstat (limited to 'llvm/tools/llvmc')
-rw-r--r--llvm/tools/llvmc/example/Hello/Hello.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/llvmc/example/Hello/Hello.cpp b/llvm/tools/llvmc/example/Hello/Hello.cpp
index 23a13a57c2b..9c96bd0a416 100644
--- a/llvm/tools/llvmc/example/Hello/Hello.cpp
+++ b/llvm/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
{}
OpenPOWER on IntegriCloud