This is an archive of the discontinued LLVM Phabricator instance.

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
the logic for marking the buffer as invalid in the early return paths.

Diff Detail