From e51ffcf27fbbb8dd209e68fc8a74b108822cd162 Mon Sep 17 00:00:00 2001 From: Zhou Sheng Date: Tue, 20 Mar 2007 02:18:16 +0000 Subject: [PATCH] Correct the name: isStrictPositive --> isStrictlyPositive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35201 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/APInt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index aa53790736c..5f4d6741c56 100644 --- a/include/llvm/ADT/APInt.h +++ b/include/llvm/ADT/APInt.h @@ -376,7 +376,7 @@ public: /// This just tests if the value of this APInt is strictly positive (> 0). /// @brief Determine if this APInt Value is strictly positive. - inline bool isStrictPositive() const { + inline bool isStrictlyPositive() const { return isPositive() && (*this) != 0; }