aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CppBackend
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-07-27 23:18:30 +0000
committerBill Wendling <isanbard@gmail.com>2008-07-27 23:18:30 +0000
commit1a53eadbffb089de517071e575152c0cbe39b7c9 (patch)
tree0f44a0c7be2433db3a2f4e650efcbda7ba47aa6b /lib/Target/CppBackend
parent7953f3781077b6feaba3708fb96ef917f8e8fc89 (diff)
downloadexternal_llvm-1a53eadbffb089de517071e575152c0cbe39b7c9.zip
external_llvm-1a53eadbffb089de517071e575152c0cbe39b7c9.tar.gz
external_llvm-1a53eadbffb089de517071e575152c0cbe39b7c9.tar.bz2
Remove <iostream> include.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend')
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp
index f11d43e..6aa085b 100644
--- a/lib/Target/CppBackend/CPPBackend.cpp
+++ b/lib/Target/CppBackend/CPPBackend.cpp
@@ -28,9 +28,9 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/Streams.h"
#include "llvm/Config/config.h"
#include <algorithm>
-#include <iostream>
#include <set>
using namespace llvm;
@@ -209,7 +209,7 @@ namespace {
}
void CppWriter::error(const std::string& msg) {
- std::cerr << progname << ": " << msg << "\n";
+ cerr << progname << ": " << msg << "\n";
exit(2);
}