[llvm] r301838 - [APInt] Fix copy/paste mistake in comment for isNullValue. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon May 1 14:16:44 PDT 2017
Author: ctopper
Date: Mon May 1 16:16:44 2017
New Revision: 301838
URL: http://llvm.org/viewvc/llvm-project?rev=301838&view=rev
Log:
[APInt] Fix copy/paste mistake in comment for isNullValue. NFC
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
Modified: llvm/trunk/include/llvm/ADT/APInt.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APInt.h?rev=301838&r1=301837&r2=301838&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/APInt.h (original)
+++ llvm/trunk/include/llvm/ADT/APInt.h Mon May 1 16:16:44 2017
@@ -377,9 +377,10 @@ public:
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.
More information about the llvm-commits
mailing list