diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 23:20:52 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 23:20:52 +0000 |
commit | dbf6d37b0b45736add065def22fc44f10e7f4146 (patch) | |
tree | 32aec1c2a346bfa2f6b89a02ad815d345cdc013f | |
parent | 35fa43907e2ea751ad35bfbaab8c4d3511422c14 (diff) |
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
-rw-r--r-- | include/llvm/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 7257d2645a..f17e02a4aa 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; } |