Browse Source

Update unit test for signature change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212545 91177308-0d34-0410-b5e6-96231b3b80d8
Benjamin Kramer 11 năm trước cách đây
mục cha
commit
480be6634b

+ 3 - 2
unittests/Basic/FileManagerTest.cpp

@@ -51,8 +51,9 @@ public:
   }
   }
 
 
   // Implement FileSystemStatCache::getStat().
   // 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) {
     if (StatCalls.count(Path) != 0) {
       Data = StatCalls[Path];
       Data = StatCalls[Path];
       return CacheExists;
       return CacheExists;