[PATCH] D66713: ContentCache: Drop getBuffer's dependency on SourceManager

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 24 23:33:13 PDT 2019


dexonsmith created this revision.
dexonsmith added reviewers: arphaman, bruno.
Herald added a subscriber: ributzka.

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.


https://reviews.llvm.org/D66713

Files:
  clang/include/clang/Basic/SourceManager.h
  clang/lib/Basic/SourceManager.cpp
  clang/lib/Serialization/ASTWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66713.217035.patch
Type: text/x-patch
Size: 9244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190825/d10057af/attachment-0001.bin>


More information about the cfe-commits mailing list