Remove <iostream> include.
authorBill Wendling <isanbard@gmail.com>
Sun, 27 Jul 2008 23:18:30 +0000 (23:18 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 27 Jul 2008 23:18:30 +0000 (23:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54131 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CppBackend/CPPBackend.cpp

index f11d43eafbacacb1848b302d9882b04a7bd90f59..6aa085bc83df930bdf7bec56f688735923f97dc1 100644 (file)
@@ -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);
   }