[APInt] Update APInt::isShiftedMask() description. NFC.

Make it clear that it matches a non-empty sequence of ones, matches the descriptions for isShiftedMask_32/64 as suggested on D119019
This commit is contained in:
Simon Pilgrim 2022-02-04 20:38:52 +00:00
parent 0d54457f8a
commit 78c6b90000
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ public:
return (Ones > 0) && ((Ones + countLeadingZerosSlowCase()) == BitWidth);
}
/// Return true if this APInt value contains a sequence of ones with
/// Return true if this APInt value contains a non-empty sequence of ones with
/// the remainder zero.
bool isShiftedMask() const {
if (isSingleWord())