diff options
author | Ben Langmuir <blangmuir@apple.com> | 2014-02-19 00:10:30 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2014-02-19 00:10:30 +0000 |
commit | 91e3d5860a9abc942cb4d1af3cb5023fdbbc967d (patch) | |
tree | 04b368e48413154306cfc15f30a53bc40c30d848 /unittests/Basic/FileManagerTest.cpp | |
parent | 0003db217e65773110d0f507f506e85240f4c36d (diff) | |
download | clang-91e3d5860a9abc942cb4d1af3cb5023fdbbc967d.tar.gz clang-91e3d5860a9abc942cb4d1af3cb5023fdbbc967d.tar.bz2 clang-91e3d5860a9abc942cb4d1af3cb5023fdbbc967d.tar.xz |
Initial implementation of virtual file system
This adds the minimum virtual file system support to start migrating
FileManager onto the VFS.
Originally discussed here:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-February/035188.html
Differential Revision: http://llvm-reviews.chandlerc.com/D2745
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Basic/FileManagerTest.cpp')
-rw-r--r-- | unittests/Basic/FileManagerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Basic/FileManagerTest.cpp b/unittests/Basic/FileManagerTest.cpp index f8ce50d531..5b35e68735 100644 --- a/unittests/Basic/FileManagerTest.cpp +++ b/unittests/Basic/FileManagerTest.cpp @@ -48,7 +48,7 @@ public: // Implement FileSystemStatCache::getStat(). virtual LookupResult getStat(const char *Path, FileData &Data, bool isFile, - int *FileDescriptor) { + vfs::File **F, vfs::FileSystem &FS) { if (StatCalls.count(Path) != 0) { Data = StatCalls[Path]; return CacheExists; |