mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Include an operator<<, to print modules
llvm-svn: 2358
This commit is contained in:
parent
a903875f0f
commit
597f27fd29
@ -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