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

Chris Lattner lattner at cs.uiuc.edu
Tue Mar 1 19:44:11 PST 2005



Changes in directory llvm/include/llvm:

Type.h updated: 1.72 -> 1.73
---
Log message:

Now that type does not derive from Value, these do not need to be virtual.


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

 Type.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.72 llvm/include/llvm/Type.h:1.73
--- llvm/include/llvm/Type.h:1.72	Sun Feb 27 00:15:09 2005
+++ llvm/include/llvm/Type.h	Tue Mar  1 21:43:55 2005
@@ -122,10 +122,10 @@
   std::vector<PATypeHandle> ContainedTys;
 
 public:
-  virtual void print(std::ostream &O) const;
+  void print(std::ostream &O) const;
 
   /// @brief Debugging support: print to stderr
-  virtual void dump() const;
+  void dump() const;
 
   //===--------------------------------------------------------------------===//
   // Property accessors for dealing with types... Some of these virtual methods






More information about the llvm-commits mailing list