[llvm-commits] CVS: llvm/include/llvm/Module.h

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 13 11:15:17 PST 2005



Changes in directory llvm/include/llvm:

Module.h updated: 1.57 -> 1.58
---
Log message:

Do not replace ostream << Module*, only ostream << Module&.



---
Diffs of the changes:  (+0 -5)

 Module.h |    5 -----
 1 files changed, 5 deletions(-)


Index: llvm/include/llvm/Module.h
diff -u llvm/include/llvm/Module.h:1.57 llvm/include/llvm/Module.h:1.58
--- llvm/include/llvm/Module.h:1.57	Sat Jan 29 18:08:26 2005
+++ llvm/include/llvm/Module.h	Sun Feb 13 13:15:01 2005
@@ -263,11 +263,6 @@
   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;






More information about the llvm-commits mailing list