From: Zhou Sheng Date: Tue, 20 Mar 2007 02:18:16 +0000 (+0000) Subject: Correct the name: isStrictPositive --> isStrictlyPositive. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e51ffcf27fbbb8dd209e68fc8a74b108822cd162;p=oota-llvm.git Correct the name: isStrictPositive --> isStrictlyPositive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35201 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }