As suggested in the review for https://reviews.llvm.org/D89430, simplify
the logic for marking the buffer as invalid in the early return paths.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D89722
SourceManager: Simplify early returns in ContentCache::getBufferOrNone, NFC ClosedPublic Authored by dexonsmith on Oct 19 2020, 12:29 PM.
Details Summary As suggested in the review for https://reviews.llvm.org/D89430, simplify
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 19 2020, 12:47 PM Closed by commit rG4aa97e3dacf3: SourceManager: Simplify early returns in ContentCache::getBufferOrNone, NFC (authored by dexonsmith). · Explain WhyOct 20 2020, 6:26 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 299533 clang/lib/Basic/SourceManager.cpp
|