OSDN Git Service

Do not replace ostream << Module*, only ostream << Module&.
authorChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 19:15:01 +0000 (19:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 19:15:01 +0000 (19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20157 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Module.h

index 61ba60f..8b4a50a 100644 (file)
@@ -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;