forked from OSchip/llvm-project
[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:
parent
0d54457f8a
commit
78c6b90000
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue