Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d976be0 commit d594a00Copy full SHA for d594a00
llvm/include/llvm/ADT/PointerIntPair.h
@@ -180,7 +180,7 @@ struct PointerIntPairInfo {
180
IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
181
182
/// IntMask - This is the unshifted mask for valid bits of the int type.
183
- IntMask = (uintptr_t)(((intptr_t)1 << IntBits) - 1),
+ IntMask = ((uintptr_t)1 << IntBits) - 1,
184
185
// ShiftedIntMask - This is the bits for the integer shifted in place.
186
ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
0 commit comments