This is an archive of the discontinued LLVM Phabricator instance.

ContentCache: Drop getBuffer's dependency on SourceManager
ClosedPublic

Authored by dexonsmith on Aug 24 2019, 11:33 PM.

Details

Reviewers
arphaman
bruno
Summary

Refactor ContentCache::IsSystemFile to IsFileVolatile, checking
SourceManager::userFilesAreVolatile at construction time. This is a
step toward lowering ContentCache down from SourceManager to
FileManager.

No functionality change intended.

Diff Detail

Event Timeline

dexonsmith created this revision.Aug 24 2019, 11:33 PM

(Updating the diff with full context.)

This revision is now accepted and ready to land.Aug 26 2019, 10:23 AM
dexonsmith closed this revision.Aug 26 2019, 1:31 PM

Committed in r369958.