r367622 - Fix Windows branch of FileManagerTest changes
Harlan Haskins via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 1 14:58:56 PDT 2019
Author: harlanhaskins
Date: Thu Aug 1 14:58:56 2019
New Revision: 367622
URL: http://llvm.org/viewvc/llvm-project?rev=367622&view=rev
Log:
Fix Windows branch of FileManagerTest changes
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=367622&r1=367621&r2=367622&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/FileManagerTest.cpp (original)
+++ cfe/trunk/unittests/Basic/FileManagerTest.cpp Thu Aug 1 14:58:56 2019
@@ -163,7 +163,7 @@ TEST_F(FileManagerTest, getFileReturnsVa
file = manager.getFile(FileName);
ASSERT_TRUE(file);
- dir = file->getDir();
+ dir = (*file)->getDir();
ASSERT_TRUE(dir != NULL);
EXPECT_EQ(DirName, dir->getName());
#endif
More information about the cfe-commits
mailing list