Move a flag out of the MemoryBuffer* to unblock changing it to a
unique_ptr. There are plenty of bits available in the bitfield below.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D89431
clang/Basic: ContentCache::InvalidFlag => ContentCache::IsBufferInvalid, NFC ClosedPublic Authored by dexonsmith on Oct 14 2020, 3:25 PM.
Details Summary Move a flag out of the MemoryBuffer* to unblock changing it to a
Diff Detail
Event Timelinedexonsmith added a parent revision: D89430: clang/Basic: Remove SourceManager::getBufferPointer, NFC. dexonsmith added a child revision: D66782: SourceManager: Prefer Optional<MemoryBufferRef> over MemoryBuffer*. dexonsmith mentioned this in D67030: ContentCache: Simplify by always owning the MemoryBuffer.Oct 14 2020, 4:06 PM dexonsmith added a child revision: D67030: ContentCache: Simplify by always owning the MemoryBuffer. This revision is now accepted and ready to land.Oct 19 2020, 9:46 PM Closed by commit rG1d78e2101ab7: clang/Basic: ContentCache::InvalidFlag => ContentCache::IsBufferInvalid, NFC (authored by dexonsmith). · Explain WhyOct 20 2020, 4:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 299510 clang/include/clang/Basic/SourceManager.h
clang/lib/Basic/SourceManager.cpp
|