Include an operator<<, to print modules

llvm-svn: 2358
This commit is contained in:
Chris Lattner 2002-04-28 04:56:28 +00:00
parent ccd1df0144
commit 97c1e50207
1 changed files with 5 additions and 0 deletions

View File

@ -156,4 +156,9 @@ public:
void dropAllReferences();
};
inline std::ostream &operator<<(std::ostream &O, const Module *M) {
M->print(O);
return O;
}
#endif