summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-02-19 03:34:59 +0000
committerBen Langmuir <blangmuir@apple.com>2014-02-19 03:34:59 +0000
commit251d40e5ff3205ad2d175941ef0e546c6de30cbf (patch)
tree867415ce51f0214450f6eed4fc1d3828b4e6b6da /lib/Frontend/CompilerInstance.cpp
parent0d3cd059d7f9f37dcc8812e5e879502f4ec28283 (diff)
downloadclang-251d40e5ff3205ad2d175941ef0e546c6de30cbf.tar.gz
clang-251d40e5ff3205ad2d175941ef0e546c6de30cbf.tar.bz2
clang-251d40e5ff3205ad2d175941ef0e546c6de30cbf.tar.xz
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
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r--lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
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