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

Reid Spencer reid at x10sys.com
Thu Mar 1 15:21:21 PST 2007



Changes in directory llvm/include/llvm:

Constants.h updated: 1.136 -> 1.137
---
Log message:

Remove virtual keyword from method that doesn't need to be virtual.


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

 Constants.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.136 llvm/include/llvm/Constants.h:1.137
--- llvm/include/llvm/Constants.h:1.136	Thu Mar  1 15:50:41 2007
+++ llvm/include/llvm/Constants.h	Thu Mar  1 17:20:52 2007
@@ -130,7 +130,7 @@
   /// This is just a convenience method to make client code smaller for a 
   /// common case.
   /// @brief Determine if the value is one.
-  virtual bool isUnitValue() const {
+  bool isUnitValue() const {
     return Val == 1;
   }
 






More information about the llvm-commits mailing list