r212545 - Update unit test for signature change.

Benjamin Kramer benny.kra at googlemail.com
Tue Jul 8 09:07:39 PDT 2014


Author: d0k
Date: Tue Jul  8 11:07:39 2014
New Revision: 212545

URL: http://llvm.org/viewvc/llvm-project?rev=212545&view=rev
Log:
Update unit test for signature change.

Modified:
    cfe/trunk/unittests/Basic/FileManagerTest.cpp

Modified: cfe/trunk/unittests/Basic/FileManagerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/FileManagerTest.cpp?rev=212545&r1=212544&r2=212545&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/FileManagerTest.cpp (original)
+++ cfe/trunk/unittests/Basic/FileManagerTest.cpp Tue Jul  8 11:07:39 2014
@@ -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;





More information about the cfe-commits mailing list