From: Reid Spencer Date: Thu, 1 Mar 2007 23:20:52 +0000 (+0000) Subject: Remove virtual keyword from method that doesn't need to be virtual. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=dbf6d37b0b45736add065def22fc44f10e7f4146;p=oota-llvm.git Remove virtual keyword from method that doesn't need to be virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34817 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 7257d2645a7..f17e02a4aa7 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -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; }