aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/PassNameParser.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-17 09:52:49 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-17 09:52:49 +0000
commit52883e7a9a637c0d6dea091917090a8ac63e7736 (patch)
treed013a0dd10422e717047ce4fbd7b20e00c890569 /include/llvm/Support/PassNameParser.h
parente562ed1c92d2d0845632c0f7d9f294fa7c4103ba (diff)
Used llvm_ostream instead of std::ostream objects. This will reduce use
of the icky <iostream> class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PassNameParser.h')
-rw-r--r--include/llvm/Support/PassNameParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h
index 5fa67d362c..c3d4901700 100644
--- a/include/llvm/Support/PassNameParser.h
+++ b/include/llvm/Support/PassNameParser.h
@@ -24,9 +24,9 @@
#define LLVM_SUPPORT_PASS_NAME_PARSER_H
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Pass.h"
#include <algorithm>
-#include <iostream>
namespace llvm {
@@ -66,7 +66,7 @@ public:
virtual void passRegistered(const PassInfo *P) {
if (ignorablePass(P) || !Opt) return;
if (findOption(P->getPassArgument()) != getNumOptions()) {
- std::cerr << "Two passes with the same argument (-"
+ llvm_cerr << "Two passes with the same argument (-"
<< P->getPassArgument() << ") attempted to be registered!\n";
abort();
}