[llvm] [clang] [clang] NFC: Deprecate `FileEntry::getName()` (PR #68157)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 15:43:17 PST 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());
----------------
jansvoboda11 wrote:

I created `LLVM_IGNORE_DEPRECATIONS_OF_DECLARATIONS_{BEGIN,END}`. Let me know if you think this makes sense to keep in LLVM's Support library, or would make more local.

https://github.com/llvm/llvm-project/pull/68157


More information about the cfe-commits mailing list