From 251d40e5ff3205ad2d175941ef0e546c6de30cbf Mon Sep 17 00:00:00 2001 From: Ben Langmuir Date: Wed, 19 Feb 2014 03:34:59 +0000 Subject: [PATCH] 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 --- lib/Frontend/CompilerInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0