diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-26 10:52:51 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-26 10:52:51 +0000 |
commit | fe6b146dcd09f488b12c7ff888ead9cedc92c2a6 (patch) | |
tree | 7e382930b9f8d236d6c06724e5aa26e7d1809f5d /lib/Support/PluginLoader.cpp | |
parent | 7fe9518698d4b07fb9dd81f5a34f312d690539cc (diff) |
Removed #include <iostream> and replace with llvm_* streams.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PluginLoader.cpp')
-rw-r--r-- | lib/Support/PluginLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/PluginLoader.cpp b/lib/Support/PluginLoader.cpp index 2ed9836fd0..abd5e7af7a 100644 --- a/lib/Support/PluginLoader.cpp +++ b/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); |