[clang] [clang] NFC: Deprecate `FileEntry::getName()` (PR #68157)
Ben Langmuir via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 3 13:56:43 PDT 2023
================
@@ -284,7 +284,6 @@ TEST_F(FileManagerTest, getFileRefReturnsCorrectNameForDifferentStatPath) {
ASSERT_FALSE(!F1Alias);
ASSERT_FALSE(!F1Alias2);
EXPECT_EQ("dir/f1.cpp", F1->getName());
- EXPECT_EQ("dir/f1.cpp", F1->getFileEntry().getName());
----------------
benlangmuir wrote:
Maybe should keep this until the function is removed and use pramga to disable the warning here?
https://github.com/llvm/llvm-project/pull/68157
More information about the cfe-commits
mailing list