projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35fa439
)
Remove virtual keyword from method that doesn't need to be virtual.
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 1 Mar 2007 23:20:52 +0000
(23:20 +0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index 7257d2645a7c8259ad58b5a73f68ef99bfd8c8cc..f17e02a4aa75ad576b2af4530c99f72275d340e2 100644
(file)
--- 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;
}