mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user