mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
Add new << to allow printing modules by reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e009942ed
commit
4b244ac1b4
@ -174,4 +174,9 @@ inline std::ostream &operator<<(std::ostream &O, const Module *M) {
|
||||
return O;
|
||||
}
|
||||
|
||||
inline std::ostream &operator<<(std::ostream &O, const Module &M) {
|
||||
M.print(O);
|
||||
return O;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user