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:
Chris Lattner 2002-04-28 04:56:28 +00:00
parent 2312b1c594
commit dae4a36849

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