Skip to content

Commit 3c822ea

Browse files
[ADT] Remove Mask in PointerEmbedded (#156201)
Mask, a private enum, isn't used anywhere in the class.
1 parent a428b30 commit 3c822ea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/include/llvm/ADT/PointerEmbeddedInt.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ class PointerEmbeddedInt {
4242
// We shift as many zeros into the value as we can while preserving the
4343
// number of bits desired for the integer.
4444
Shift = sizeof(uintptr_t) * CHAR_BIT - Bits,
45-
46-
// We also want to be able to mask out the preserved bits for asserts.
47-
Mask = static_cast<uintptr_t>(-1) << Bits
4845
};
4946

5047
struct RawValueTag {

0 commit comments

Comments
 (0)