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 | 4852dc1cd5126a20a77767800b037477032f4fbe (patch) | |
| tree | 0cc78a9e94d50ed924e7be07fdc104ede7adc2e0 | |
| parent | cc411d66d0a0cbc9f4921daaad8dc010c8c582d0 (diff) | |
| download | bcm5719-llvm-4852dc1cd5126a20a77767800b037477032f4fbe.tar.gz bcm5719-llvm-4852dc1cd5126a20a77767800b037477032f4fbe.zip | |
Correct the name: isStrictPositive --> isStrictlyPositive.
llvm-svn: 35201
| -rw-r--r-- | llvm/include/llvm/ADT/APInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h index aa53790736c..5f4d6741c56 100644 --- a/llvm/include/llvm/ADT/APInt.h +++ b/llvm/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; } |

