aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Constants.h2
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;
}