I copy and pasted from isNullValue and forgot to update it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304877
91177308-0d34-0410-b5e6-
96231b3b80d8
/// not.
bool isNullValue() const { return !*this; }
- /// \brief Determine if all bits are clear
+ /// \brief Determine if this is a value of 1.
///
- /// This checks to see if the value has all bits of the APInt are clear or
- /// not.
+ /// This checks to see if the value of this APInt is one.
bool isOneValue() const { return getActiveBits() == 1; }
/// \brief Determine if this is the largest unsigned value.