Remove virtual keyword from method that doesn't need to be virtual.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 23:20:52 +0000 (23:20 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 23:20:52 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34817 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Constants.h

index 7257d2645a7c8259ad58b5a73f68ef99bfd8c8cc..f17e02a4aa75ad576b2af4530c99f72275d340e2 100644 (file)
@@ -130,7 +130,7 @@ public:
   /// 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;
   }