Changes in directory llvm/include/llvm:
Constants.h updated: 1.136 -> 1.137 --- Log message: Remove virtual keyword from method that doesn't need to be virtual. --- Diffs of the changes: (+1 -1) Constants.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Constants.h diff -u llvm/include/llvm/Constants.h:1.136 llvm/include/llvm/Constants.h:1.137 --- llvm/include/llvm/Constants.h:1.136 Thu Mar 1 15:50:41 2007 +++ llvm/include/llvm/Constants.h Thu Mar 1 17:20:52 2007 @@ -130,7 +130,7 @@ /// 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; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits