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

Reid Spencer reid at x10sys.com
Mon Dec 6 20:03:57 PST 2004



Changes in directory llvm/include/llvm:

Pass.h updated: 1.47 -> 1.48
---
Log message:

For PR387: http://llvm.cs.uiuc.edu/PR387 :\
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual

---
Diffs of the changes:  (+1 -2)

Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.47 llvm/include/llvm/Pass.h:1.48
--- llvm/include/llvm/Pass.h:1.47	Wed Oct 27 11:14:47 2004
+++ llvm/include/llvm/Pass.h	Mon Dec  6 22:03:44 2004
@@ -96,8 +96,7 @@
   /// provide the Module* in case the analysis doesn't need it it can just be
   /// ignored.
   ///
-  virtual void print(std::ostream &O, const Module *M) const { print(O); }
-  virtual void print(std::ostream &O) const;
+  virtual void print(std::ostream &O, const Module *M) const;
   void dump() const; // dump - call print(std::cerr, 0);
 
 






More information about the llvm-commits mailing list