aboutsummaryrefslogtreecommitdiffstats
path: root/utils/fpcmp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-15 03:47:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-15 03:47:24 +0000
commit8f10915145c77a807f620b0c9ccc86de53702f2c (patch)
treec5c5dfa491417321bfa9f4c117c0e066dd96c8d3 /utils/fpcmp
parent4c7276a4eb64199e1804818a7650e4a3c5c662dc (diff)
downloadexternal_llvm-8f10915145c77a807f620b0c9ccc86de53702f2c.zip
external_llvm-8f10915145c77a807f620b0c9ccc86de53702f2c.tar.gz
external_llvm-8f10915145c77a807f620b0c9ccc86de53702f2c.tar.bz2
Remove unnecessary uses of <iostream>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/fpcmp')
-rw-r--r--utils/fpcmp/fpcmp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/fpcmp/fpcmp.cpp b/utils/fpcmp/fpcmp.cpp
index 66d8ab1..5f6b5e8 100644
--- a/utils/fpcmp/fpcmp.cpp
+++ b/utils/fpcmp/fpcmp.cpp
@@ -14,7 +14,7 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileUtilities.h"
-#include <iostream>
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
namespace {
@@ -37,7 +37,7 @@ int main(int argc, char **argv) {
sys::PathWithStatus(File2),
AbsTolerance, RelTolerance, &ErrorMsg);
if (!ErrorMsg.empty())
- std::cerr << argv[0] << ": " << ErrorMsg << "\n";
+ errs() << argv[0] << ": " << ErrorMsg << "\n";
return DF;
}