This changes ContentCache::Buffer to use
std::unique_ptr<MemoryBuffer> instead of the PointerIntPair. It
drops the (mostly unused) DoNotFree bit, instead creating a (new)
non-owning MemoryBuffer instance when passed a MemoryBufferRef.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Rebased on top of https://reviews.llvm.org/D89431 (the tests haven't finished yet; I'll update if necessary, but this is pretty straightforward).