aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-04 21:41:10 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-04 21:41:10 +0000
commitfc1f6e835ce87baab978ea8c3673b1be73a2e23e (patch)
tree2ad70e98ccdeb690e8192fb24201208db8cb3cb4
parent74ceb298fed410b23b79f8b21fba5a97623f1ea0 (diff)
Include <iosfwd> and <string> instead of <iostream>.
Take away the default iostream argument of createMachineFunctionPrinterPass(), at Chris's request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11121 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/Passes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h
index 01638691cf..8f34c9af67 100644
--- a/include/llvm/CodeGen/Passes.h
+++ b/include/llvm/CodeGen/Passes.h
@@ -15,7 +15,8 @@
#ifndef LLVM_CODEGEN_PASSES_H
#define LLVM_CODEGEN_PASSES_H
-#include <iostream>
+#include <iosfwd>
+#include <string>
namespace llvm {
@@ -25,7 +26,7 @@ namespace llvm {
/// MachineFunctionPrinter pass - This pass prints out the machine function to
/// standard error, as a debugging tool.
- FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS = &std::cerr,
+ FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS,
const std::string &Banner ="");
/// PHIElimination pass - This pass eliminates machine instruction PHI nodes