[APInt] Fix the documentation for isOneValue. NFC
I copy and pasted from isNullValue and forgot to update it. llvm-svn: 304877
This commit is contained in:
parent
73ba1c84be
commit
bbb4ac678f
|
|
@ -392,10 +392,9 @@ public:
|
||||||
/// not.
|
/// not.
|
||||||
bool isNullValue() const { return !*this; }
|
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
|
/// This checks to see if the value of this APInt is one.
|
||||||
/// not.
|
|
||||||
bool isOneValue() const { return getActiveBits() == 1; }
|
bool isOneValue() const { return getActiveBits() == 1; }
|
||||||
|
|
||||||
/// \brief Determine if this is the largest unsigned value.
|
/// \brief Determine if this is the largest unsigned value.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue