[clang] NFCI: Use FileEntryRef in FileManagerTest
authorJan Svoboda <jan_svoboda@apple.com>
Fri, 15 Apr 2022 12:48:27 +0000 (14:48 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Fri, 15 Apr 2022 13:16:17 +0000 (15:16 +0200)
commit713e716cdaef1ee069f27bb71fd232a782565e0a
tree7b08a3f4f1d1abebae2b7a0a5dbeebc725b9a2d7
parent99b4874a53cf4cd39a164a63b5505baace825d7c
[clang] NFCI: Use FileEntryRef in FileManagerTest

This patch removes use of the deprecated `{File,Directory}Entry::getName()` from `FileManager` unit tests by using `{File,Directory}EntryRef` instead.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123770
clang/unittests/Basic/FileManagerTest.cpp