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 a903875f0f
commit 597f27fd29

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