From: Ben Langmuir Date: Wed, 19 Feb 2014 03:34:59 +0000 (+0000) Subject: Pass VFS from CompilerInstance to FileManager X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=251d40e5ff3205ad2d175941ef0e546c6de30cbf;p=clang Pass VFS from CompilerInstance to FileManager This change was somehow missed from r201618 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201636 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 0e9b0c0ebe..5311c80497 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -202,7 +202,7 @@ void CompilerInstance::createVirtualFileSystem() { void CompilerInstance::createFileManager() { assert(hasVirtualFileSystem() && "expected virtual file system"); - FileMgr = new FileManager(getFileSystemOpts()); + FileMgr = new FileManager(getFileSystemOpts(), VirtualFileSystem); } // Source Manager