Change Pass::print to take a raw ostream instead of std::ostream,

update all code that this affects.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79830 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-08-23 06:03:38 +00:00
parent cb3e3d3005
commit 45cfe545ec
50 changed files with 138 additions and 191 deletions

View File

@@ -22,11 +22,11 @@
#include "llvm/ADT/GraphTraits.h"
#include <vector>
#include <iosfwd>
namespace llvm {
class BasicBlock;
class raw_ostream;
//===----------------------------------------------------------------------===//
//
@@ -98,8 +98,7 @@ public:
bool isLoop() const;
/// print - Show contents in human readable format...
void print(std::ostream &O) const;
void print(std::ostream *O) const { if (O) print(*O); }
void print(raw_ostream &O) const;
};
/// succ_begin/succ_end - define methods so that Intervals may be used