Replace ContentCache::getRawBuffer with getBufferDataIfLoaded and
getBufferIfLoaded, excising another accessor for the underlying
MemoryBuffer* in favour of StringRef and MemoryBufferRef.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D89445
clang/Basic: Remove ContentCache::getRawBuffer, NFC ClosedPublic Authored by dexonsmith on Oct 14 2020, 8:37 PM.
Details Summary Replace ContentCache::getRawBuffer with getBufferDataIfLoaded and
Diff Detail Event Timelinedexonsmith added a parent revision: D67030: ContentCache: Simplify by always owning the MemoryBuffer. This revision is now accepted and ready to land.Oct 21 2020, 10:50 PM Closed by commit rG156e8b37024a: clang/Basic: Remove ContentCache::getRawBuffer, NFC (authored by dexonsmith). · Explain WhyOct 22 2020, 11:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 298434 clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
clang/include/clang/Basic/SourceManager.h
clang/lib/Basic/SourceManager.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
|