mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Include an operator<<, to print modules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2358 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2312b1c594
commit
dae4a36849
@ -156,4 +156,9 @@ public:
|
||||
void dropAllReferences();
|
||||
};
|
||||
|
||||
inline std::ostream &operator<<(std::ostream &O, const Module *M) {
|
||||
M->print(O);
|
||||
return O;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user