Skip to content

Commit

Permalink
[clang] Fix FileManagerTest
Browse files Browse the repository at this point in the history
Compilation failure caused by b1aea98.
  • Loading branch information
jansvoboda11 committed Sep 25, 2024
1 parent f172c31 commit c71bfc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/unittests/Basic/FileManagerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ TEST_F(FileManagerTest, getFileReturnsSameFileEntryForAliasedRealFiles) {

EXPECT_EQ("abc/foo.cpp", r1->getName());
EXPECT_EQ("abc/bar.cpp", r2->getName());
EXPECT_EQ((f1 ? *f1 : nullptr), &r1->getFileEntry());
EXPECT_EQ((f2 ? *f2 : nullptr), &r2->getFileEntry());
EXPECT_EQ((f1 ? &f1->getFileEntry() : nullptr), &r1->getFileEntry());
EXPECT_EQ((f2 ? &f2->getFileEntry() : nullptr), &r2->getFileEntry());
}

TEST_F(FileManagerTest, getFileRefReturnsCorrectNameForDifferentStatPath) {
Expand Down

0 comments on commit c71bfc5

Please sign in to comment.