[PATCH] D59377: Frontend: Remove CompilerInstance::VirtualFileSystem, NFC
Duncan P. N. Exon Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 14 11:30:13 PDT 2019
dexonsmith created this revision.
Herald added subscribers: jdoerfert, kadircet, arphaman, jkorous.
Remove CompilerInstance::VirtualFileSystem and
CompilerInstance::setVirtualFileSystem, instead relying on the VFS in
the FileManager. CompilerInstance and its clients already went to some
trouble to make these match. Now they are guaranteed to match.
As part of this, I added a VFS parameter (defaults to nullptr) to
CompilerInstance::createFileManager to avoid repeating construction
logic in clients that just want to customize the VFS.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7859 bytes
Desc: not available
More information about the cfe-commits