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 | 1700b52b8b29632aa128f0039f47b323029b0585 (patch) | |
| tree | 8d94cfcde427a262c6a153a235fb4c3d17199153 /llvm | |
| parent | caace8cffdd34fffed9854d431bd39ceb83308dc (diff) | |
| download | bcm5719-llvm-1700b52b8b29632aa128f0039f47b323029b0585.tar.gz bcm5719-llvm-1700b52b8b29632aa128f0039f47b323029b0585.zip | |
Remove virtual keyword from method that doesn't need to be virtual.
llvm-svn: 34817
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h index 7257d2645a7..f17e02a4aa7 100644 --- a/llvm/include/llvm/Constants.h +++ b/llvm/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; } |

