From: Harlan Haskins Date: Thu, 1 Aug 2019 21:58:56 +0000 (+0000) Subject: Fix Windows branch of FileManagerTest changes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a7ce79b2e0d782937bbde68b9d6d83c34f4d5a3;p=clang Fix Windows branch of FileManagerTest changes git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367622 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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