From: Chris Lattner Date: Sun, 13 Feb 2005 19:15:01 +0000 (+0000) Subject: Do not replace ostream << Module*, only ostream << Module&. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8a1573f823e444ae6fe4cac89763030936d07d06;p=oota-llvm.git Do not replace ostream << Module*, only ostream << Module&. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20157 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Module.h b/include/llvm/Module.h index 61ba60f08ed..8b4a50a4096 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -263,11 +263,6 @@ public: void dropAllReferences(); }; -inline std::ostream &operator<<(std::ostream &O, const Module *M) { - M->print(O); - return O; -} - inline std::ostream &operator<<(std::ostream &O, const Module &M) { M.print(O); return O;