summaryrefslogtreecommitdiff
path: root/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-07-08 16:07:39 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-07-08 16:07:39 +0000
commit480be6634b9b0e68eaa794daf6e8411a289855b7 (patch)
tree3df81866be75f1d41e5fe39b37533c26b3de3a69 /unittests/Basic/FileManagerTest.cpp
parent68aa908ac5e76e14f059e6f0e65bea128e09dad2 (diff)
downloadclang-480be6634b9b0e68eaa794daf6e8411a289855b7.tar.gz
Update unit test for signature change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Basic/FileManagerTest.cpp')
-rw-r--r--unittests/Basic/FileManagerTest.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/unittests/Basic/FileManagerTest.cpp b/unittests/Basic/FileManagerTest.cpp
index b5df814ba8..b3bc767949 100644
--- a/unittests/Basic/FileManagerTest.cpp
+++ b/unittests/Basic/FileManagerTest.cpp
@@ -51,8 +51,9 @@ public:
}
// Implement FileSystemStatCache::getStat().
- virtual LookupResult getStat(const char *Path, FileData &Data, bool isFile,
- vfs::File **F, vfs::FileSystem &FS) {
+ LookupResult getStat(const char *Path, FileData &Data, bool isFile,
+ std::unique_ptr<vfs::File> *F,
+ vfs::FileSystem &FS) override {
if (StatCalls.count(Path) != 0) {
Data = StatCalls[Path];
return CacheExists;