diff options
author | Zhou Sheng <zhousheng00@gmail.com> | 2007-03-20 02:18:16 +0000 |
---|---|---|
committer | Zhou Sheng <zhousheng00@gmail.com> | 2007-03-20 02:18:16 +0000 |
commit | e51ffcf27fbbb8dd209e68fc8a74b108822cd162 (patch) | |
tree | 61ddae5d10c1933905630e6ad9814afc5ca487c5 | |
parent | b9174dd5dc2a782e617fe45200ec462bcef26cee (diff) | |
download | external_llvm-e51ffcf27fbbb8dd209e68fc8a74b108822cd162.zip external_llvm-e51ffcf27fbbb8dd209e68fc8a74b108822cd162.tar.gz external_llvm-e51ffcf27fbbb8dd209e68fc8a74b108822cd162.tar.bz2 |
Correct the name: isStrictPositive --> isStrictlyPositive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35201 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/APInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index aa53790..5f4d674 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; } |