Update unit test for signature change.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 8 Jul 2014 16:07:39 +0000 (16:07 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 8 Jul 2014 16:07:39 +0000 (16:07 +0000)
llvm-svn: 212545

clang/unittests/Basic/FileManagerTest.cpp

index b5df814..b3bc767 100644 (file)
@@ -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;