This adds an LowPointerIntPair alias that makes a PointerIntPair store the int in the lowest bit positions.
This partially limits chaining, but simplifies accessing the int by removing the need for shifts.
Details
Details
- Reviewers
chandlerc
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
clang-tidy: error: reinterpret_cast from 'llvm::PointerIntPair<double *, 1, bool, llvm::PointerLikeTypeTraits<double *>, llvm::PointerIntPairInfo<double *, 1, llvm::PointerLikeTypeTraits<double *> > >' to 'intptr_t' (aka 'long') is not allowed [clang-diagnostic-error]
not useful