mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
remove the std::ostream version of module and type printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -468,7 +468,6 @@ public:
|
||||
public:
|
||||
/// Print the module to an output stream with AssemblyAnnotationWriter.
|
||||
void print(raw_ostream &OS, AssemblyAnnotationWriter *AAW) const;
|
||||
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
|
||||
|
||||
/// Dump the module to stderr (for debugging).
|
||||
void dump() const;
|
||||
@ -482,11 +481,7 @@ public:
|
||||
/// @}
|
||||
};
|
||||
|
||||
/// An iostream inserter for modules.
|
||||
inline std::ostream &operator<<(std::ostream &O, const Module &M) {
|
||||
M.print(O, 0);
|
||||
return O;
|
||||
}
|
||||
/// An raw_ostream inserter for modules.
|
||||
inline raw_ostream &operator<<(raw_ostream &O, const Module &M) {
|
||||
M.print(O, 0);
|
||||
return O;
|
||||
|
Reference in New Issue
Block a user