r201636 - Pass VFS from CompilerInstance to FileManager
Ben Langmuir
blangmuir at apple.com
Tue Feb 18 19:34:59 PST 2014
Author: benlangmuir
Date: Tue Feb 18 21:34:59 2014
New Revision: 201636
URL: http://llvm.org/viewvc/llvm-project?rev=201636&view=rev
Log:
Pass VFS from CompilerInstance to FileManager
This change was somehow missed from r201618
Modified:
cfe/trunk/lib/Frontend/CompilerInstance.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=201636&r1=201635&r2=201636&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Tue Feb 18 21:34:59 2014
@@ -202,7 +202,7 @@ void CompilerInstance::createVirtualFile
void CompilerInstance::createFileManager() {
assert(hasVirtualFileSystem() && "expected virtual file system");
- FileMgr = new FileManager(getFileSystemOpts());
+ FileMgr = new FileManager(getFileSystemOpts(), VirtualFileSystem);
}
// Source Manager
More information about the cfe-commits
mailing list