Skip to content

Commit

Permalink
[APInt] Fix copy/paste mistake in comment for isNullValue. NFC
Browse files Browse the repository at this point in the history
llvm-svn: 301838
  • Loading branch information
topperc committed May 1, 2017
1 parent e5ca68c commit e3dd644
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions llvm/include/llvm/ADT/APInt.h
Expand Up @@ -377,9 +377,10 @@ class LLVM_NODISCARD APInt {
return countPopulationSlowCase() == BitWidth;
}

/// \brief Determine if all bits are set
/// \brief Determine if all bits are clear
///
/// This checks to see if the value has all bits of the APInt are set or not.
/// This checks to see if the value has all bits of the APInt are clear or
/// not.
bool isNullValue() const { return !*this; }

/// \brief Determine if this is the largest unsigned value.
Expand Down

0 comments on commit e3dd644

Please sign in to comment.