Include <iosfwd> and <string> instead of <iostream>.
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 4 Feb 2004 21:41:10 +0000 (21:41 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 4 Feb 2004 21:41:10 +0000 (21:41 +0000)
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

include/llvm/CodeGen/Passes.h

index 01638691cfb41d2ad0feeedbe2e2f2f4d23a4c4c..8f34c9af67d6119c4acefb455b04dea4737e8186 100644 (file)
@@ -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