From 0a7ce79b2e0d782937bbde68b9d6d83c34f4d5a3 Mon Sep 17 00:00:00 2001 From: Harlan Haskins Date: Thu, 1 Aug 2019 21:58:56 +0000 Subject: [PATCH] Fix Windows branch of FileManagerTest changes git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367622 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Basic/FileManagerTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/Basic/FileManagerTest.cpp b/unittests/Basic/FileManagerTest.cpp index 77e13057a1..97b525e577 100644 --- a/unittests/Basic/FileManagerTest.cpp +++ b/unittests/Basic/FileManagerTest.cpp @@ -163,7 +163,7 @@ TEST_F(FileManagerTest, getFileReturnsValidFileEntryForExistingRealFile) { file = manager.getFile(FileName); ASSERT_TRUE(file); - dir = file->getDir(); + dir = (*file)->getDir(); ASSERT_TRUE(dir != NULL); EXPECT_EQ(DirName, dir->getName()); #endif -- 2.50.1