summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/PluginLoader.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-26 10:52:51 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-26 10:52:51 +0000
commit3750ae25a0cee3b17f551b8f1e9a3f54c16bbfbd (patch)
tree7ecc3be5a7c263ba7f437bd876fa8a154f336b3a /llvm/lib/Support/PluginLoader.cpp
parenta88968b9c456e3c47403c7e0bb3a8d94f980d0b5 (diff)
downloadbcm5719-llvm-3750ae25a0cee3b17f551b8f1e9a3f54c16bbfbd.tar.gz
bcm5719-llvm-3750ae25a0cee3b17f551b8f1e9a3f54c16bbfbd.zip
Removed #include <iostream> and replace with llvm_* streams.
llvm-svn: 31927
Diffstat (limited to 'llvm/lib/Support/PluginLoader.cpp')
-rw-r--r--llvm/lib/Support/PluginLoader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/PluginLoader.cpp b/llvm/lib/Support/PluginLoader.cpp
index 2ed9836fd09..abd5e7af7ab 100644
--- a/llvm/lib/Support/PluginLoader.cpp
+++ b/llvm/lib/Support/PluginLoader.cpp
@@ -13,8 +13,8 @@
#define DONT_GET_PLUGIN_LOADER_OPTION
#include "llvm/Support/PluginLoader.h"
+#include "llvm/Support/Streams.h"
#include "llvm/System/DynamicLibrary.h"
-#include <iostream>
#include <vector>
using namespace llvm;
@@ -26,7 +26,7 @@ void PluginLoader::operator=(const std::string &Filename) {
std::string Error;
if (sys::DynamicLibrary::LoadLibraryPermanently(Filename.c_str(), &Error)) {
- std::cerr << "Error opening '" << Filename << "': " << Error
+ llvm_cerr << "Error opening '" << Filename << "': " << Error
<< "\n -load request ignored.\n";
} else {
Plugins->push_back(Filename);
OpenPOWER on IntegriCloud